diff options
author | Kees Cook <keescook@chromium.org> | 2015-06-17 00:36:17 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-21 18:49:55 +0200 |
commit | 92a486ca3a45777bdec0b9fd225a8eeec82bddb7 (patch) | |
tree | faa0170f61e6fee89a14e994c694b7cceeabd70c /mm | |
parent | pkt_sched: sch_qfq: remove redundant -if- control statement (diff) | |
download | linux-92a486ca3a45777bdec0b9fd225a8eeec82bddb7.tar.xz linux-92a486ca3a45777bdec0b9fd225a8eeec82bddb7.zip |
cxgb3: avoid needless buffer copy for firmware
There's no reason to perform a buffer copy for the firmware name. This
also avoids a (currently impossible with current callers) NULL dereference
if there was no matching firmware.
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions