diff options
| author | Paul Burton <[email protected]> | 2015-07-13 17:14:21 +0100 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2015-08-26 15:23:35 +0200 |
| commit | 2dca88da835616c3c65d1e4167288346fd67f02f (patch) | |
| tree | 537ce9a82b34f3513552f3d25a75e0ebef8a0ddd /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | e51395d2739d0bb4991b6b531e1066475aae9bfd (diff) | |
MIPS: ops-emma2rh: Drop nonsensical db_assert
The db_assert call checks whether the bus_num pointer is non-NULL, but
does so after said pointer has been dereferenced by the assignment on
the previous line. Thus the check is pointless & likely to have been
optimised out by the compiler anyway. The check_args function is static
& only ever called from the local file with bus_num being a pointer to
an on-stack variable, so the check seems somewhat overzealous anyway.
Simply remove it.
Signed-off-by: Paul Burton <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/10692/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions