diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2020-06-14 19:04:42 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-06-14 19:04:42 -0400 |
commit | 067c054fb9c90811ae38898ce649f8dafa13354c (patch) | |
tree | 43d5ab6f4005b6e53d9a52e4cc7e8a5ffd6329fe /drivers/hid/hid-core.c | |
parent | b3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff) |
dlmfs: clean up dlmfs_file_{read,write}() a bit
The damn file is constant-sized - 64 bytes. IOW,
* i_size_read() is pointless
* so's dynamic allocation
* so's the 'size' argument of user_dlm_read_lvb()
* ... and so's open-coding simple_read_from_buffer(), while we are at it.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/hid/hid-core.c')
0 files changed, 0 insertions, 0 deletions