]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
[media] s2255drv: cleanup vidioc_enum_fmt_cap()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 17 Feb 2012 05:43:27 +0000 (02:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 8 Mar 2012 13:39:56 +0000 (10:39 -0300)
commit6c61ac635535bbabf4f374df171372d012b0e822
tree00a24e27c09c871c9bcf93c8abdbbf5120067bc3
parentda0af4788c4e992bf8085b8f585b0fa9c69970fa
[media] s2255drv: cleanup vidioc_enum_fmt_cap()

"f" wasn't checked consistently, so static checkers complain.  This
function is always called with a valid "f" pointer, so I have removed
the check.

Also the indenting was messed up.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dean Anderson <linux-dev@sensoray.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s2255drv.c