]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitac04cfa1741d2a2cb9b08134a77e9b5809bcb3a5
tree5d41274661ce7b1d6ae1fab42a5c7841ab2f371b
parent0dd3282970a913da6e60a648d17b1805e5c101c2
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