summaryrefslogtreecommitdiffstats
path: root/usr.bin/ministat
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2011-12-02 22:03:27 +0000
committermarius <marius@FreeBSD.org>2011-12-02 22:03:27 +0000
commitc1dda66820c6e6eccf0746ee8557255b2cf4ab80 (patch)
tree1d807321eb570be84851b848ff17149b5cb33c1a /usr.bin/ministat
parent7b5b9bafe6519ca9217ccd8106f04b9234d77559 (diff)
downloadFreeBSD-src-c1dda66820c6e6eccf0746ee8557255b2cf4ab80.zip
FreeBSD-src-c1dda66820c6e6eccf0746ee8557255b2cf4ab80.tar.gz
It doesn't make much sense to check whether child is NULL after already
having dereferenced it. We either should generally check the device_t's supplied to bus functions before using them (which we seem to virtually never do) or just assume that they are not NULL. While at it make this code fit 78 columns. Found with: Coverity Prevent(tm) CID: 4230
Diffstat (limited to 'usr.bin/ministat')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud