From: Jasmin Jessich Date: Sun, 16 Jul 2017 00:43:08 +0000 (-0400) Subject: media: dvb_ca_en50221: Added line breaks X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fbabbddd64236e88e7302cff7c20e066a211d82a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git media: dvb_ca_en50221: Added line breaks Fixed all: WARNING: Missing a blank line after declarations Signed-off-by: Jasmin Jessich Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb-core/dvb_ca_en50221.c b/drivers/media/dvb-core/dvb_ca_en50221.c index 7207ff596b92..678bd6a91edc 100644 --- a/drivers/media/dvb-core/dvb_ca_en50221.c +++ b/drivers/media/dvb-core/dvb_ca_en50221.c @@ -178,7 +178,9 @@ static void dvb_ca_private_free(struct dvb_ca_private *ca) static void dvb_ca_private_release(struct kref *ref) { - struct dvb_ca_private *ca = container_of(ref, struct dvb_ca_private, refcount); + struct dvb_ca_private *ca; + + ca = container_of(ref, struct dvb_ca_private, refcount); dvb_ca_private_free(ca); } @@ -297,8 +299,10 @@ static int dvb_ca_en50221_wait_if_status(struct dvb_ca_private *ca, int slot, start = jiffies; timeout = jiffies + timeout_hz; while (1) { + int res; + /* read the status and check for error */ - int res = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS); + res = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS); if (res < 0) return -EIO;