diff options
author | Hugo Villeneuve <hvilleneuve@dimonoff.com> | 2023-12-21 18:18:18 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-01-04 16:30:04 +0100 |
commit | dfb104213008e68ba4dd516ce4f329d676c449fb (patch) | |
tree | 141e7af2e3274db8560e743596a9161bc06ce075 /lib/test_fortify/write_overflow-strlcpy.c | |
parent | acd7f118b3b5466549e351331bedb50a6027d8d1 (diff) |
serial: sc16is7xx: add explicit return for some switch default cases
Allows to simplify code by removing the break statement in the default
switch/case in some functions.
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://lore.kernel.org/r/20231221231823.2327894-12-hugo@hugovil.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy.c')
0 files changed, 0 insertions, 0 deletions