diff options
author | Li Zhijian <lizhijian@fujitsu.com> | 2024-01-22 13:39:41 +0800 |
---|---|---|
committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2024-03-11 10:38:13 +0900 |
commit | 4a2b06ca33763b363038d333274e212db6ff0de1 (patch) | |
tree | 3f3e891aa449327cb6f5d5491840f6c5e087052b /scripts/gdb/linux/interrupts.py | |
parent | e8f897f4afef0031fe618a8e94127a0934896aba (diff) |
firewire: Kill unnecessary buf check in device_attribute.show
Per Documentation/filesystems/sysfs.rst:
> sysfs allocates a buffer of size (PAGE_SIZE) and passes it to the
> method.
So we can kill the unnecessary buf check safely.
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Link: https://lore.kernel.org/r/20240122053942.80648-1-lizhijian@fujitsu.com
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions