netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] sctp: do some clean up and fix comments
@ 2013-10-25  1:50 Wang Weidong
  2013-10-25  1:50 ` [PATCH 1/4] sctp: merge two if statements to one Wang Weidong
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Wang Weidong @ 2013-10-25  1:50 UTC (permalink / raw)
  To: davem, nhorman, vyasevich; +Cc: dingtianhong, linux-sctp, netdev

I found: two if statements do the same work, we can merge to one;
kmem_cache_zalloc will reset the memory, no need do the work
which initialize with 0; some spelling errors, then fix them.

Wang Weidong (4):
  sctp: merge two if statements to one
  sctp: remove the repeat initialize with 0
  sctp: fix some comments in associola.c
  sctp: fix comment in chunk.c

 net/sctp/associola.c     |  4 ++--
 net/sctp/auth.c          | 12 ++++--------
 net/sctp/chunk.c         |  2 +-
 net/sctp/sm_make_chunk.c | 29 ++++++++---------------------
 4 files changed, 15 insertions(+), 32 deletions(-)

-- 
1.7.12

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-10-26  3:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-25  1:50 [PATCH 0/4] sctp: do some clean up and fix comments Wang Weidong
2013-10-25  1:50 ` [PATCH 1/4] sctp: merge two if statements to one Wang Weidong
2013-10-25 13:04   ` Sergei Shtylyov
2013-10-26  2:55     ` wangweidong
2013-10-25 23:40   ` Vlad Yasevich
2013-10-26  2:59     ` wangweidong
2013-10-25  1:50 ` [PATCH 2/4] sctp: remove the repeat initialize with 0 Wang Weidong
2013-10-25 23:42   ` Vlad Yasevich
2013-10-25  1:50 ` [PATCH 3/4] sctp: fix some comments in associola.c Wang Weidong
2013-10-25 23:43   ` Vlad Yasevich
2013-10-25  1:50 ` [PATCH 4/4] sctp: fix comment in chunk.c Wang Weidong
2013-10-25 23:45   ` Vlad Yasevich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).