diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-02-22 11:35:46 +0000 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-03-07 14:25:00 +0200 |
commit | ce2542435aadc9953656e8afddaab0caf0079a3a (patch) | |
tree | 856bfe1b533eb093e2979aeaef968cac1d7fde5d /drivers/hwmon/ltc4261.c | |
parent | 064b32f822afd9a578a4ec6bf754cd61cbe0c324 (diff) |
rtlwifi: pass struct rtl_stats by reference as it is more efficient
passing rtl_stats by value is inefficient; the structure is over 300
bytes in size and generally just one field (packet_report_type)
is being accessed, so the pass by value is a relatively large overhead.
This change just affects just the rx_command_packet calls.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/hwmon/ltc4261.c')
0 files changed, 0 insertions, 0 deletions