[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1382665805-13952-1-git-send-email-wangweidong1@huawei.com>
Date: Fri, 25 Oct 2013 09:50:01 +0800
From: Wang Weidong <wangweidong1@...wei.com>
To: <davem@...emloft.net>, <nhorman@...driver.com>,
<vyasevich@...il.com>
CC: <dingtianhong@...wei.com>, <linux-sctp@...r.kernel.org>,
<netdev@...r.kernel.org>
Subject: [PATCH 0/4] sctp: do some clean up and fix comments
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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists