staging: dgnc: driver.c: removes dgnc_mbuf function
authorLidza Louina <lidza.louina@gmail.com>
Thu, 22 Aug 2013 18:54:15 +0000 (14:54 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Aug 2013 19:35:26 +0000 (12:35 -0700)
commit8287ac00ddfece19834d40a424406eecc692b407
tree5f259d1e32da25a5e320aeeb936adde8a099b24a
parentb3cc872c1b51b9c4166264a3f5e614b9f2d3b263
staging: dgnc: driver.c: removes dgnc_mbuf function

This patch removes the dgnc_mbuf function. This function was causing the
errors:

drivers/staging/dgnc/dgnc_driver.c: In function 'dgnc_mbuf.constprop.0':
drivers/staging/dgnc/dgnc_driver.c:945:1: warning: the frame size of 1032
bytes is larger than 1024 bytes [-Wframe-larger-than=]

drivers/staging/dgnc/dgnc_tty.c: In function 'dgnc_sniff_nowait_nolock':
drivers/staging/dgnc/dgnc_tty.c:614:1: warning: the frame size of 1056
bytes is larger than 1024 bytes [-Wframe-larger-than=]

This patch removes it so the kernel won't be making noise when its
device is found on the system.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Lidza Louina <lidza.louina@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_driver.c