commit | dfe5f753d06a4eaf362872a7f30aabe5f5fc968c | [log] [tgz] |
---|---|---|
author | Alexander Usyskin <alexander.usyskin@intel.com> | Tue Jul 26 01:06:01 2016 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Aug 30 14:39:42 2016 +0200 |
tree | 58c3cf0bc6cd8ce06e5f62c104d0fe7f7f9ccf03 | |
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>