Skip to content
Commit 6af6b163 authored by Dmitry Kasatkin's avatar Dmitry Kasatkin Committed by Greg Kroah-Hartman
Browse files

firmware: read firmware size using i_size_read()



There is no need to read attr because inode structure contains size
of the file. Use i_size_read() instead.

Signed-off-by: default avatarDmitry Kasatkin <d.kasatkin@samsung.com>
Acked-by: default avatarMing Lei <ming.lei@canonical.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5a1379e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment