Commit d38ef5ae authored by Xin Long's avatar Xin Long Committed by David S. Miller

sctp: remove the typedef sctp_dbg_objcnt_entry_t

This patch is to remove the typedef sctp_dbg_objcnt_entry_t, and
replace with struct sctp_dbg_objcnt_entry in the places where it's
using this typedef.
Signed-off-by: default avatarXin Long <lucien.xin@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a05437ac
...@@ -1992,9 +1992,9 @@ struct sctp_cmsgs { ...@@ -1992,9 +1992,9 @@ struct sctp_cmsgs {
}; };
/* Structure for tracking memory objects */ /* Structure for tracking memory objects */
typedef struct { struct sctp_dbg_objcnt_entry {
char *label; char *label;
atomic_t *counter; atomic_t *counter;
} sctp_dbg_objcnt_entry_t; };
#endif /* __sctp_structs_h__ */ #endif /* __sctp_structs_h__ */
...@@ -57,7 +57,7 @@ SCTP_DBG_OBJCNT(keys); ...@@ -57,7 +57,7 @@ SCTP_DBG_OBJCNT(keys);
/* An array to make it easy to pretty print the debug information /* An array to make it easy to pretty print the debug information
* to the proc fs. * to the proc fs.
*/ */
static sctp_dbg_objcnt_entry_t sctp_dbg_objcnt[] = { static struct sctp_dbg_objcnt_entry sctp_dbg_objcnt[] = {
SCTP_DBG_OBJCNT_ENTRY(sock), SCTP_DBG_OBJCNT_ENTRY(sock),
SCTP_DBG_OBJCNT_ENTRY(ep), SCTP_DBG_OBJCNT_ENTRY(ep),
SCTP_DBG_OBJCNT_ENTRY(assoc), SCTP_DBG_OBJCNT_ENTRY(assoc),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment