projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging: lustre: remove initialization of static ints
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
staging
/
lustre
/
lustre
/
ptlrpc
/
pack_generic.c
diff --git
a/drivers/staging/lustre/lustre/ptlrpc/pack_generic.c
b/drivers/staging/lustre/lustre/ptlrpc/pack_generic.c
index 2f45f765783040994c2271db210834092a02eeef..eb6ff902080ca45b2dc8b928da4a746fdffab9ff 100644
(file)
--- a/
drivers/staging/lustre/lustre/ptlrpc/pack_generic.c
+++ b/
drivers/staging/lustre/lustre/ptlrpc/pack_generic.c
@@
-117,7
+117,7
@@
EXPORT_SYMBOL(lustre_msg_check_version);
/* early reply size */
int lustre_msg_early_size(void)
{
- static int size
= 0
;
+ static int size;
if (!size) {
/* Always reply old ptlrpc_body_v2 to keep interoprability
* with the old client (< 2.3) which doesn't have pb_jobid