diff options
| author | Colin Ian King <[email protected]> | 2018-03-02 14:14:51 +0000 |
|---|---|---|
| committer | Corey Minyard <[email protected]> | 2018-03-07 01:47:51 +0000 |
| commit | e8824babad2d81fcff43e02f028cc437a3f99ce5 (patch) | |
| tree | 72433b1429cc9a86cdcb2b82a43558ab13461daf /net/unix/af_unix.c | |
| parent | ipmi: Consolidate cleanup code (diff) | |
| download | kernel-e8824babad2d81fcff43e02f028cc437a3f99ce5.tar.gz kernel-e8824babad2d81fcff43e02f028cc437a3f99ce5.zip | |
ipmi: use ARRAY_SIZE for poweroff_functions array sizing calculation
Use the ARRAY_SIZE macro on a array poweroff_functions to determine
size of the array. Improvement suggested by Coccinelle.
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Corey Minyard <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
