diff options
author | Colin Ian King <[email protected]> | 2019-10-06 15:52:31 +0100 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2019-11-06 14:37:19 -0800 |
commit | 16f7f3bccb304a3257052bcb1538e85c67b506e4 (patch) | |
tree | ffb333387b55b19c809a5d867878dd62f0379d2a /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 58d5aa5c75ce5748a489c3b8916de9b448d954b7 (diff) |
hwmon: abituguru: make array probe_order static, makes object smaller
Don't populate the array probe_order on the stack but instead make it
static. Makes the object code smaller by 94 bytes.
Before:
text data bss dec hex filename
41473 13448 320 55241 d7c9 drivers/hwmon/abituguru.o
After:
text data bss dec hex filename
41315 13512 320 55147 d76b drivers/hwmon/abituguru.o
(gcc version 9.2.1, amd64)
Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions