[media] pvrusb2: fix smatch errors
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 15 Apr 2016 15:35:32 +0000 (12:35 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 20 Apr 2016 18:48:29 +0000 (15:48 -0300)
commit622202938952e43471c31835906c8a4f4e16f050
treeda87525da8ce416765ad1350070394699b2f1114
parent86b2749ba79e78130dd9f678aa52d57992fbdf1c
[media] pvrusb2: fix smatch errors

These are false positives, but still easy to fix.

pvrusb2-hdw.c:3676 pvr2_send_request_ex() error: we previously assumed 'write_data' could be null (see line 3648)
pvrusb2-hdw.c:3829 pvr2_send_request_ex() error: we previously assumed 'read_data' could be null (see line 3649)

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/pvrusb2/pvrusb2-hdw.c