summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2012-03-04 09:26:15 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-03-04 10:49:27 -0800
commitaaa60fa7ac66ede814f7ad37a2b3a07b4f784756 (patch)
tree625eb8a9d94fd29460170698bb273ff4ef97e7eb /virt
parentaa87512fbc56e107c14f7fa85823eb7e82a2f64c (diff)
downloadlwn-aaa60fa7ac66ede814f7ad37a2b3a07b4f784756.tar.gz
lwn-aaa60fa7ac66ede814f7ad37a2b3a07b4f784756.zip
Input: cyttsp - remove useless checks in cyttsp_probe()
This fixes reference-before-check problem; there is no reason to check if caller passed NULL dev or bus_ops as it is done only by bus-specific drivers which already do the right thing. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions