diff options
author | Luo penghao <[email protected]> | 2021-08-20 19:14:47 -0700 |
---|---|---|
committer | Karol Herbst <[email protected]> | 2021-10-11 13:06:49 +0200 |
commit | 404046cf48050167bc068bd12fdd2cbce61022c3 (patch) | |
tree | a4f6464ae6a0e35fcb3ea9192767699f952e9801 /scripts/gdb/linux/modules.py | |
parent | 6363185938106f462e293fe4ded485911a9eb08f (diff) |
drm/nouveau/mmu/gp100-: drop unneeded assignment in the if condition.
In order to keep the code style consistency of the whole file,
the 'inst' assignments should be deleted.
The clang_analyzer complains as follows:
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c:499:8: warning:
Although the value storedto 'inst' is used in the enclosing expression,
the value is never actually read from 'inst'.
Karol: Removed unneeded brackets.
Reported-by: Zeal Robot <[email protected]>
Signed-off-by: Luo penghao <[email protected]>
Reviewed-by: Karol Herbst <[email protected]>
Signed-off-by: Karol Herbst <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions