diff options
Diffstat (limited to 'drivers/media/dvb/frontends/dib7000p.c')
-rw-r--r-- | drivers/media/dvb/frontends/dib7000p.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/dib7000p.c b/drivers/media/dvb/frontends/dib7000p.c index 4eb9c2b49cd5..ce8534ff142e 100644 --- a/drivers/media/dvb/frontends/dib7000p.c +++ b/drivers/media/dvb/frontends/dib7000p.c | |||
@@ -1598,8 +1598,8 @@ int dib7000pc_detection(struct i2c_adapter *i2c_adap) | |||
1598 | return -ENOMEM; | 1598 | return -ENOMEM; |
1599 | rx = kzalloc(2*sizeof(u8), GFP_KERNEL); | 1599 | rx = kzalloc(2*sizeof(u8), GFP_KERNEL); |
1600 | if (!rx) { | 1600 | if (!rx) { |
1601 | goto rx_memory_error; | ||
1602 | ret = -ENOMEM; | 1601 | ret = -ENOMEM; |
1602 | goto rx_memory_error; | ||
1603 | } | 1603 | } |
1604 | 1604 | ||
1605 | msg[0].buf = tx; | 1605 | msg[0].buf = tx; |