]> 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)
commit4256402c304c8e21907a37965b66d1aa30b1a905
tree5d41274661ce7b1d6ae1fab42a5c7841ab2f371b
parent02b293573bcfc3ca0d5e2e89f252ae5ef4ff363a
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