]> git.baikalelectronics.ru Git - kernel.git/commit
[media] variable name is never null, so remove null check
authorColin Ian King <colin.king@canonical.com>
Tue, 6 Sep 2016 12:44:09 +0000 (09:44 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 24 Oct 2016 19:04:27 +0000 (17:04 -0200)
commitfa6cbc51635921df1eee105d05725c72b6fd8306
treeaef0a0b977f2051bcec3e351072a67c06b3cf567
parent27c8720794b78729b94cdca8fcea82054829dc70
[media] variable name is never null, so remove null check

The variable name is always assigned to a literal string in the
proceeding switch statement, so it is never null and hence the
null check is redundant. Remove null the check.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
drivers/media/usb/pvrusb2/pvrusb2-sysfs.c