Bug 99642 - driver: Remove unnecessary NULL check
Summary: driver: Remove unnecessary NULL check
Status: RESOLVED FIXED
Alias: None
Product: dbus
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: D-Bus Maintainers
QA Contact: D-Bus Maintainers
URL:
Whiteboard: review+
Keywords: patch
Depends on:
Blocks:
 
Reported: 2017-02-02 10:23 UTC by Philip Withnall
Modified: 2017-02-13 15:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
driver: Remove unnecessary NULL check (959 bytes, patch)
2017-02-02 10:23 UTC, Philip Withnall
Details | Splinter Review

Description Philip Withnall 2017-02-02 10:23:14 UTC
Super-trivial patch attached.
Comment 1 Philip Withnall 2017-02-02 10:23:16 UTC
Created attachment 129289 [details] [review]
driver: Remove unnecessary NULL check

context is definitely non-NULL at this point, and has been dereferenced
already on all paths leading to it.

Coverity ID: 141062
Comment 2 Simon McVittie 2017-02-02 11:58:31 UTC
Clearly fine

(I'm going to batch up applying these trivial patches, since I don't like to push things untested, and it takes a little while to run them through local tests or Travis-CI; sorry for the delay)
Comment 3 Simon McVittie 2017-02-13 15:58:51 UTC
Fixed in git for 1.11.10, thanks


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.