dcbnl: Prepare framework to shorten handling functions
authorThomas Graf <tgraf@suug.ch>
Wed, 13 Jun 2012 02:54:54 +0000 (02:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Jun 2012 22:46:34 +0000 (15:46 -0700)
commit33a03aadb52fa05d28aba6d8f0c03c7b3b905897
tree4e8fdc1321d516c9a297ece6babde6f164475c80
parent43b03f1f6d6832d744918947d185a7aee89d1e0f
dcbnl: Prepare framework to shorten handling functions

There is no need to allocate and send the reply message in each
handling function separately. Instead, the reply skb can be allocated
and sent in dcb_doit() directly.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dcb/dcbnl.c