aboutsummaryrefslogtreecommitdiff
path: root/drivers/nvmem
diff options
context:
space:
mode:
authorAlexander Usyskin2016-07-26 01:06:01 +0300
committerGreg Kroah-Hartman2016-08-30 14:39:42 +0200
commitdfe5f753d06a4eaf362872a7f30aabe5f5fc968c (patch)
tree58c3cf0bc6cd8ce06e5f62c104d0fe7f7f9ccf03 /drivers/nvmem
parentc85dba9e87376aa8e08fa7b024df562d0fda189b (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