summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaeseok Youn2016-07-06 15:11:13 +0900
committerGreg Kroah-Hartman2016-08-15 19:06:09 +0200
commit10334418d62d968e2901eb116ea449828b782c96 (patch)
tree3386bfb2ed85ebdaf40e8dcbddaf3dc0a8f0563c /tools/perf/scripts/python
parent598b1529d6ceddeadd528187996f08cc3c39cc55 (diff)
staging: dgnc: remove redundant NULL checks in
The dgnc_block_til_ready() is only used in dgnc_tty_open(). The unit data(struct un_t) was stored into tty->driver_data in dgnc_tty_open(). And also tty and un were tested about NULL so these variables doesn't need to check for NULL in dgnc_block_til_ready(). Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions