summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorElizabeth Ferdman <gnudevliz@gmail.com>2016-10-17 09:46:30 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-17 11:27:55 +0300
commit00162ea2e4cc65e454b8b70f2964e431085414fe (patch)
treeccdb2566629e60b1fc5d27d3cbd3951a71b8db83 /scripts/basic
parenta98753b7e94c867361228c59edf9be195d1dfd84 (diff)
downloadlinux-00162ea2e4cc65e454b8b70f2964e431085414fe.tar.xz
staging: rtl8188eu: core: constify local structure
Constify the static struct RTW_CHANNEL_PLAN_MAP_REALTEK_DEFINE. The only other instance was one of its properties being assigned to a variable: Index2G = RTW_CHANNEL_PLAN_MAP_REALTEK_DEFINE.Index2G; Therefore this is a good candidate for constification. Running size did not show any difference: Before/After: text data bss dec hex filename 44122 408 2974 47504 b990 Lastly, break up the long line to fix the checkpatch warning and conform to kernel coding style. Signed-off-by: Elizabeth Ferdman <gnudevliz@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions