staging: dgap: remove dgap_newnode()
authorDaeseok Youn <daeseok.youn@gmail.com>
Tue, 15 Jul 2014 09:50:37 +0000 (18:50 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jul 2014 15:26:29 +0000 (08:26 -0700)
commit825122353a2363b76c5568998be9fed17c5fdbfc
tree5d41274661ce7b1d6ae1fab42a5c7841ab2f371b
parent7bab00ff654cfac02ec758e7726cdf1149b18565
staging: dgap: remove dgap_newnode()

The dgap_newnode() is useless for creating new node.
So just use kzalloc and set a type in case statement.

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c