From: Malcolm Priestley Date: Wed, 16 Jul 2014 21:22:05 +0000 (+0100) Subject: staging: vt6656: remove DBG_PRT kernel messages macro and enums X-Git-Tag: firefly_0821_release~176^2~3491^2~528 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bccf11404690235491515c2a19ef945604e71ec0;p=firefly-linux-kernel-4.4.55.git staging: vt6656: remove DBG_PRT kernel messages macro and enums All dead code and nolonger used by driver. Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h index dbd58103accc..f08f7dee3a53 100644 --- a/drivers/staging/vt6656/device.h +++ b/drivers/staging/vt6656/device.h @@ -185,16 +185,6 @@ /* USB registers */ #define USB_REG4 0x604 -#define DBG_PRT(l, p, args...) { if (l <= msglevel) printk(p, ##args); } - -enum { - MSG_LEVEL_ERR = 0, /* Errors causing abnormal operation */ - MSG_LEVEL_NOTICE = 1, /* Errors needing user notification */ - MSG_LEVEL_INFO = 2, /* Normal message. */ - MSG_LEVEL_VERBOSE = 3, /* Will report all trival errors. */ - MSG_LEVEL_DEBUG = 4 /* Only for debug purpose. */ -}; - #define DEVICE_INIT_COLD 0x0 /* cold init */ #define DEVICE_INIT_RESET 0x1 /* reset init or Dx to D0 power remain */ #define DEVICE_INIT_DXPL 0x2 /* Dx to D0 power lost init */