summaryrefslogtreecommitdiff
path: root/flowtop/.gitignore
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-06-13 17:38:26 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-06-13 17:38:26 +0200
commit50743a7fed464958aba9f729324e35a4f0c945a3 (patch)
tree738ca39e963a782ca883099b81e53df539560475 /flowtop/.gitignore
parentc0ba799af2559773c9a5bfe7e01b759ad45b3a4f (diff)
flowtop: Remove unnecessary bug_on() and rework presenter_screen_init()
The screen pointer can never be NULL, since initscr() exits the process in case of an error. Thus the bug_on() check can be omitted. Also rework presenter_screen_init() - where initscr() is called - to return the pointer. This will also silence a Coverity scanner error (even though it isn't actually one). Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'flowtop/.gitignore')
0 files changed, 0 insertions, 0 deletions
el' is only called from `pl330_alloc_chan_resources', so the lock is already held. Function `pl330_release_channel' is called from `pl330_free_chan_resources', which already holds the lock, and from `pl330_del'. Function `pl330_del' is called in an error path of `pl330_probe' and at the end of `pl330_remove', but I assume that there cannot be concurrent accesses to the protected data at those points. Signed-off-by: Iago Abal <mail@iagoabal.eu> Reviewed-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include/drm/drm_crtc.h')