summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJasmin Jessich <jasmin@anw.at>2017-07-16 02:43:10 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-07-20 21:34:37 +0200
commit5567d09d2a2d154f4a946304d6d73d4e49080046 (patch)
treee221b8ba067957cceb566f5ae9ddc997a668bd3b
parentmedia: dvb_ca_en50221: Removed useless braces (diff)
downloadlinux-5567d09d2a2d154f4a946304d6d73d4e49080046.tar.xz
linux-5567d09d2a2d154f4a946304d6d73d4e49080046.zip
media: dvb_ca_en50221: Removed unused symbol
- The STATUSREG_TXERR definition is not used and it has style problems, too. Removing it seems to solve both issues. Signed-off-by: Jasmin Jessich <jasmin@anw.at> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r--drivers/media/dvb-core/dvb_ca_en50221.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/dvb-core/dvb_ca_en50221.c b/drivers/media/dvb-core/dvb_ca_en50221.c
index ce22bdbfc765..6547f6eb8cf4 100644
--- a/drivers/media/dvb-core/dvb_ca_en50221.c
+++ b/drivers/media/dvb-core/dvb_ca_en50221.c
@@ -76,8 +76,6 @@ MODULE_PARM_DESC(cam_debug, "enable verbose debug messages");
#define STATUSREG_WE 2 /* write error */
#define STATUSREG_FR 0x40 /* module free */
#define STATUSREG_DA 0x80 /* data available */
-#define STATUSREG_TXERR (STATUSREG_RE|STATUSREG_WE) /* general transfer error */
-
#define DVB_CA_SLOTSTATE_NONE 0
#define DVB_CA_SLOTSTATE_UNINITIALISED 1