]> git.baikalelectronics.ru Git - kernel.git/commit
sysfs: collapse fs/sysfs/bin.c::fill_read() into read()
authorTejun Heo <tj@kernel.org>
Tue, 1 Oct 2013 21:42:04 +0000 (17:42 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 6 Oct 2013 00:27:40 +0000 (17:27 -0700)
commitbc08c64ed7220c5abe5b71617ace750db6c3a739
tree27b7b3d5e36be401ae301bb889c4e66a2fc9bb76
parent370570c1405af1a2f2e0db6ec236774e38fd7613
sysfs: collapse fs/sysfs/bin.c::fill_read() into read()

read() is simple enough and fill_read() being in a separate function
doesn't add anything.  Let's collapse it into read().  This will make
merging bin file handling with regular file.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/sysfs/bin.c