media: dvb_ca_en50221: Used a helper variable
authorJasmin Jessich <jasmin@anw.at>
Sun, 16 Jul 2017 00:43:07 +0000 (20:43 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 20 Jul 2017 19:32:06 +0000 (15:32 -0400)
commita75aa90c7c2fd82793efca1d300fd9bad766c02d
tree9f8ed9150727c3827d9d88e7537f80401a6a15f1
parentbacba9e540162feef62ed17ed49c313a287a3341
media: dvb_ca_en50221: Used a helper variable

Used a helper variable "struct dvb_ca_slot *sl" instead of
"ca->slot_info[slot]". This reduces the line length and simplifies
code reading.

Fixed also "-strict" checks in this patch:
- Comparison to NULL written as "!<var>".

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-core/dvb_ca_en50221.c