[media] pvrusb2: remove redundant check on cnt > 8
authorColin Ian King <colin.king@canonical.com>
Sun, 7 May 2017 18:33:05 +0000 (15:33 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 7 Jun 2017 16:52:41 +0000 (13:52 -0300)
commit47b586f66a9e78c91586b9c363603a52c75840d7
treec9e405e88240f90cb9049194d52fff91127d42a9
parent97adc2b39e91b9037ef0a14d1e996acd09471c4b
[media] pvrusb2: remove redundant check on cnt > 8

The 2nd check of cnt > 8 is redundant as cnt is already checked
and thresholded to a maximum of 8 a few statements earlier.
Remove this redundant 2nd check.

Detected by CoverityScan, CID#114281 ("Logically dead code")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c