CDC: common parser for extra headers
authorOliver Neukum <oneukum@suse.com>
Mon, 7 Sep 2015 14:05:38 +0000 (16:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Sep 2015 19:43:11 +0000 (12:43 -0700)
commitc40a2c8817e42273a4627c48c884b805475a733f
tree904a89eed8b945b861f15ae14802dbbec9a9fec7
parent1d147ccbfc35d7d45c87fb0c767e6e40c316aa32
CDC: common parser for extra headers

CDC drivers all implement their own parser for the extra headers.
This patch fixes the code duplication introducing a single common
parser in usbnet.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/usbnet.c
include/linux/usb/cdc.h [new file with mode: 0644]