diff options
author | Jiri Slaby <jslaby@suse.cz> | 2021-07-14 11:13:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-21 12:49:51 +0200 |
commit | 935256192996de6317e3afe5dc1b2f8d9c210afd (patch) | |
tree | 392d4950a8d60924e49825c6ca1c58535ff1c76c /arch/mips/net | |
parent | 5d4317abd2223eea5884f7e28d1047d5e87d4a6f (diff) | |
download | linux-935256192996de6317e3afe5dc1b2f8d9c210afd.tar.bz2 |
amiserial: expand serial_isroot
Having a macro (serial_isroot) for capable(CAP_SYS_ADMIN) does not save
us from anything. It rather obfuscates the code. Hence expand
serial_isroot to be explicit like every other driver is.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210714091314.8292-7-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/mips/net')
0 files changed, 0 insertions, 0 deletions