device: remove unused null check
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 7 Apr 2015 17:34:40 +0000 (19:34 +0200)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 7 Apr 2015 19:11:38 +0000 (21:11 +0200)
commit2bb9e6203dc329f69a7180431d1b61f4e9529afa
treef6f1a9f65cdf39994325cc764030e2f058cc3ccb
parent889f25b2ccea77770e62220ecf65a6799794bfa2
device: remove unused null check

We dereference the variable right before the null check. We never reach
this point with a null value anyway so let's just remove it.
src/core/device.c