media: dvb_ca_en50221: Added line breaks
Fixed all: WARNING: Missing a blank line after declarations Signed-off-by: Jasmin Jessich <jasmin@anw.at> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
a75aa90c7c
commit
fbabbddd64
|
@ -178,7 +178,9 @@ static void dvb_ca_private_free(struct dvb_ca_private *ca)
|
||||||
|
|
||||||
static void dvb_ca_private_release(struct kref *ref)
|
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);
|
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;
|
start = jiffies;
|
||||||
timeout = jiffies + timeout_hz;
|
timeout = jiffies + timeout_hz;
|
||||||
while (1) {
|
while (1) {
|
||||||
|
int res;
|
||||||
|
|
||||||
/* read the status and check for error */
|
/* 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)
|
if (res < 0)
|
||||||
return -EIO;
|
return -EIO;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue