diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2018-09-26 18:29:03 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-26 09:56:07 -0700 |
commit | a70fee3b0f9007ee16bf0159018ee29684acfac0 (patch) | |
tree | 5f233fd573520659a7aa4d440510580f96241f24 /net | |
parent | s390/qeth: convert layer attribute to enum (diff) | |
download | linux-dev-a70fee3b0f9007ee16bf0159018ee29684acfac0.tar.xz linux-dev-a70fee3b0f9007ee16bf0159018ee29684acfac0.zip |
s390/qeth: use DEFINE_MUTEX for qeth_mod_mutex
Consolidate declaration and initialization of a static variable.
While at it reduce its scope in qeth_core_load_discipline(), and simplify
the return logic accordingly.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions