Re: [PATCH 1/2] firewire: Kill unnecessary buf check in device_attribute.show
Brought to you by:
aeb,
bencollins
From: Takashi S. <o-t...@sa...> - 2024-01-22 08:56:20
|
Hi, On Mon, Jan 22, 2024 at 01:39:41PM +0800, Li Zhijian wrote: > 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 <liz...@fu...> > --- > drivers/firewire/core-device.c | 14 +++----------- > 1 file changed, 3 insertions(+), 11 deletions(-) Applied both patches to linux-next branch, since they are not so-urgent fixes. Thanks Takashi Sakamoto |