summaryrefslogtreecommitdiff
path: root/drivers/macintosh/windfarm_ad7417_sensor.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2012-11-10 03:35:01 (GMT)
committerBjorn Helgaas <bhelgaas@google.com>2012-11-10 04:40:09 (GMT)
commit1452cd76a97bf7b93a015586dcabc73fd935e692 (patch)
treec7165b369166199f793a40c0ab0695e073fb0945 /drivers/macintosh/windfarm_ad7417_sensor.c
parent6b136724691a6f247ada0c6a5f02370ed46de9f4 (diff)
downloadlinux-fsl-qoriq-1452cd76a97bf7b93a015586dcabc73fd935e692.tar.xz
PCI: Remove useless "!dev" tests
No need to check "!dev" when the caller should always supply a valid pointer. If the caller *doesn't* supply a valid pointer, it probably won't check for a failure return either. This way we'll oops and get a backtrace. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/macintosh/windfarm_ad7417_sensor.c')
0 files changed, 0 insertions, 0 deletions