]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
commit69117994aa7d9dba8ea3bcdde7676b123d975877
treeaef0a0b977f2051bcec3e351072a67c06b3cf567
parent06c24f6779ea863a9410c872c577d8ae986a4b60
[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