diff options
| author | Li Zhijian <[email protected]> | 2024-01-22 05:39:41 +0000 |
|---|---|---|
| committer | Takashi Sakamoto <[email protected]> | 2024-03-11 01:38:13 +0000 |
| commit | 4a2b06ca33763b363038d333274e212db6ff0de1 (patch) | |
| tree | 3f3e891aa449327cb6f5d5491840f6c5e087052b /drivers/fpga/ts73xx-fpga.c | |
| parent | Linux 6.8 (diff) | |
| download | kernel-4a2b06ca33763b363038d333274e212db6ff0de1.tar.gz kernel-4a2b06ca33763b363038d333274e212db6ff0de1.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Sakamoto <[email protected]>
Diffstat (limited to 'drivers/fpga/ts73xx-fpga.c')
0 files changed, 0 insertions, 0 deletions
