aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3/dwc3-of-simple.c
diff options
context:
space:
mode:
authorAl Viro2020-06-14 19:04:42 -0400
committerAl Viro2020-06-14 19:04:42 -0400
commit067c054fb9c90811ae38898ce649f8dafa13354c (patch)
tree43d5ab6f4005b6e53d9a52e4cc7e8a5ffd6329fe /drivers/usb/dwc3/dwc3-of-simple.c
parentb3a9e3b9622ae10064826dccb4f7a52bd88c7407 (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/usb/dwc3/dwc3-of-simple.c')
0 files changed, 0 insertions, 0 deletions