mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
dcbnl: Shorten all command handling functions
Allocating and sending the skb in dcb_doit() allows for much shorter and cleaner command handling functions. The huge switch statement is replaced with an array based definition of the handling function and reply message type. Signed-off-by: Thomas Graf <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
33a03aadb5
commit
7be994138b
1 changed files with 172 additions and 550 deletions
722
net/dcb/dcbnl.c
722
net/dcb/dcbnl.c
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue