aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorDeepak R Varma <[email protected]>2022-12-11 19:25:08 +0530
committerThomas Zimmermann <[email protected]>2022-12-20 09:26:18 +0100
commit2306f5d042e479806c3dae3044b3ebbc475118de (patch)
treee76ab156d4191e5e73dae77233de080d625ca949 /lib/test_fortify/write_overflow-strncpy-src.c
parent5f70ba0243a9ec8fa783dfa0454965c8ef543b66 (diff)
drm/sprd: remove redundant error logging
A call to platform_get_irq() already prints an error on failure within its own implementation. So printing another error based on its return value in the caller is redundant and should be removed. The clean up also makes if condition block braces unnecessary. Remove that as well. Issue identified using platform_get_irq.cocci coccicheck script. Signed-off-by: Deepak R Varma <[email protected]> Reviewed-by: Thomas Zimmermann <[email protected]> Signed-off-by: Thomas Zimmermann <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/Y5XhPJ39ipMCcctq@qemulion
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions