aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorGuo Zhengkui <[email protected]>2022-02-28 22:23:50 +0800
committerLyude Paul <[email protected]>2022-03-03 17:18:24 -0500
commit2046e733e125fa58ed997f3d26d43543faf82c95 (patch)
tree1d857f3188c7d897437397c9811a9062dfe4ca87 /tools/perf/scripts/python/net_dropmonitor.py
parent701920ca9822eb63b420b3bcb627f2c1ec759903 (diff)
drm/nouveau/instmem: fix uninitialized_var.cocci warning
Fix following coccicheck warning: drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:316:11-12: WARNING this kind of initialization is deprecated. `void *map = map` has the same form of uninitialized_var() macro. I remove the redundant assignement. It has been tested with gcc (Debian 8.3.0-6) 8.3.0. The patch which removed uninitialized_var() is: https://lore.kernel.org/all/[email protected]/ And there is very few "/* GCC */" comments in the Linux kernel code now. Signed-off-by: Guo Zhengkui <[email protected]> Reviewed-by: Lyude Paul <[email protected]> Signed-off-by: Lyude Paul <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions