Variable obd_device_cachep is only used inside the file it is declared,
so it is better set as static
Signed-off-by: Pedro Marzo Perez
---
drivers/staging/lustre/lustre/obdclass/genops.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/lustre/lustre/obdclass
Simplify prism2_wep_init error check code employing goto when a failure is
detected.
Removed pr_debug which was given a checkpatch.pl error because of literal string
splitted across two lines of code, it was seldom going to be printed anyway.
Signed-off-by: Pedro Marzo Perez
---
.../rtl8192u
autoload the module.
Signed-off-by: Pedro Marzo Perez
---
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c
b/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c
index 651bd65
The checkpatch.pl script reports several errors at file ieee80211_crypt_wep.c,
this patch fixes them.
Pedro Marzo Perez (2):
Simplify error check code at prism2_wep_init
Remove two useless lines at ieee80211_wep_null
.../rtl8192u/ieee80211/ieee80211_crypt_wep.c | 34
Simplify prism2_wep_init error check code employing goto when a failure is
detected.
Removed pr_debug which was given a checkpatch.pl error because of literal string
splitted across two lines of code, it was seldom going to be printed anyway.
Signed-off-by: Pedro Marzo Perez
---
.../rtl8192u
Opening braces should never be in a new line.
Correct include indentation.
Signed-off-by: Pedro Marzo Perez
---
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/rtl8192u/ieee80211
The checkpatch.pl script reports several errors at file ieee80211_crypt_wep.c,
this patch fixes them.
Pedro Marzo Perez (3):
Simplify error check code at prism2_wep_init
Remove two useless lines at ieee80211_wep_null
Correct include indentation and openning braces at new line
.../rtl8192u
Remove two lines at ieee80211_wep_null which checkpatch.pl reported as errors.
The first one because it has a C99 comment style and the second one because it
is a void
return which is useless.
Signed-off-by: Pedro Marzo Perez
---
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c | 2
Merge two pr_debug lines with literal strings splitted across several lines
into one single line, simplifying prism2_wep_init error check code.
Signed-off-by: Pedro Marzo Perez
---
.../rtl8192u/ieee80211/ieee80211_crypt_wep.c | 22 +-
1 file changed, 9 insertions
Opening braces should never be in a new line.
Correct include indentation.
Signed-off-by: Pedro Marzo Perez
---
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/rtl8192u/ieee80211
The checkpatch.pl script reports several errors and warnings at file
ieee80211_crypt_wep.c, this series of patches fixes them.
Pedro Marzo Perez (3):
ieee80211_crypt_wep: Simplify error check code at prism2_wep_init
ieee80211_crypt_wep: Remove two useless lines at ieee80211_wep_null
Removed two lines at ieee80211_wep_null which checkpatch.pl reported as errors.
The first one because it has a C99 comment style and the second one because it
is a void
return which is useless.
Signed-off-by: Pedro Marzo Perez
---
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c | 2
: Pedro Marzo Perez
---
.../rtl8192u/ieee80211/ieee80211_crypt_wep.c | 33 --
1 file changed, 12 insertions(+), 21 deletions(-)
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c
b/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c
index 0a17f84
Signed-off-by: Pedro Marzo Perez
---
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c | 16 +---
1 file changed, 5 insertions(+), 11 deletions(-)
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c
b/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c
From: pmarzo
This patch just fixes some errors reported by checkpatch.pl script
Signed-off-by: Pedro Marzo Perez
---
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c | 16 +---
1 file changed, 5 insertions(+), 11 deletions(-)
diff --git a/drivers/staging/rtl8192u
15 matches
Mail list logo