diff options
author | Alexander Usyskin | 2016-07-26 01:06:01 +0300 |
---|---|---|
committer | Greg Kroah-Hartman | 2016-08-30 14:39:42 +0200 |
commit | dfe5f753d06a4eaf362872a7f30aabe5f5fc968c (patch) | |
tree | 58c3cf0bc6cd8ce06e5f62c104d0fe7f7f9ccf03 /drivers/nvmem | |
parent | c85dba9e87376aa8e08fa7b024df562d0fda189b (diff) |
mei: drop redundant krealloc and checks in irq read
The read callback is always prepared with MTU-sized buffer and the FW
can't send more than the MTU in one message.
Checking for buffer existence and krealloc to increase receive buffer
size are redundant and may be safely discarded.
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvmem')
0 files changed, 0 insertions, 0 deletions