[openib-commits] r1920 - gen2/trunk/src/linux-kernel/infiniband/ulp/sdp

libor at openib.org
Fri Feb 25 11:57:16 PST 2005


Author: libor
Date: 2005-02-25 11:57:15 -0800 (Fri, 25 Feb 2005)
New Revision: 1920

Modified:
   gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_advt.h
   gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_buff.h
   gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_buff_p.h
   gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_conn.h
   gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_dev.h
   gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_inet.c
   gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_iocb.h
   gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_link.h
   gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_proc.h
   gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_queue.h
   gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_rcvd.c
   gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_sent.c
Log:
From: Michael S. Tsirkin <mst at mellanox.co.il>

Remove all trailing function and structure name comments.

Signed-off-by: Michael s. Tsirkin <mst at mellanox.co.il>
Signed-off-by: Libor Michalek <libor at topspin.com>


Modified: gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_advt.h
===================================================================
--- gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_advt.h   2005-02-25 19:03:30 UTC (rev 1919)
+++ gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_advt.h   2005-02-25 19:57:15 UTC (rev 1920)
@@ -60,7 +60,7 @@
        u64 wrid; /* work request completing this advertisment */
        u32 flag; /* advertisment flags. */
        u64 addr; /* advertised buffer virtual address */
-}; /* struct sdpc_advt */
+};
 
 /*
  * table for holding SDP advertisments.
@@ -68,7 +68,7 @@
 struct sdpc_advt_q {
        struct sdpc_advt *head; /* double linked list of advertisments */
        s32 size;               /* current number of advertisments in table */
-}; /* struct sdpc_advt_q */
+};
 
 /*
  * make size a macro.

Modified: gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_buff.h
===================================================================
--- gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_buff.h   2005-02-25 19:03:30 UTC (rev 1919)
+++ gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_buff.h   2005-02-25 19:57:15 UTC (rev 1920)
@@ -42,7 +42,7 @@
 struct sdpc_buff_q {
        struct sdpc_buff *head; /* double linked list of buffers */
        u32 size;               /* number of buffers in the pool */
-}; /* struct sdpc_buff_q */
+};
 
 struct sdpc_buff {
        struct sdpc_buff   *next;
@@ -74,7 +74,7 @@
        u64 real; /* component of scather/gather list (address) */
        u32 size; /* component of scather/gather list (lenght)  */
        u32 lkey; /* component of scather/gather list (key) */
-}; /* struct sdpc_buff */
+};
 
 /*
  * buffer flag defintions

Modified: gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_buff_p.h
===================================================================
--- gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_buff_p.h 2005-02-25 19:03:30 UTC (rev 1919)
+++ gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_buff_p.h 2005-02-25 19:57:15 UTC (rev 1920)
@@ -71,6 +71,6 @@
 
        int alloc_inc;  /* allocation increment */
        int free_mark;  /* start freeing unused buffers */
-}; /* struct sdpc_buff_root */
+};
 
 #endif /* _SDP_BUFF_P_H */

Modified: gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_conn.h
===================================================================
--- gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_conn.h   2005-02-25 19:03:30 UTC (rev 1919)
+++ gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_conn.h   2005-02-25 19:57:15 UTC (rev 1920)
@@ -171,7 +171,7 @@
        __u16 state[SDP_CONN_STATE_MAX];
        void *file[SDP_CONN_STATE_MAX];
        __s32 line[SDP_CONN_STATE_MAX];
-}; /* struct sdp_conn_state */
+};
 
 #define SDP_CONN_ST_SET(conn, val) \
 do { \
@@ -208,7 +208,7 @@
        __u32 users;
        spinlock_t slock;
        wait_queue_head_t waitq;
-}; /* struct sdp_conn_lock */
+};
 
 /*
  * SDP Connection structure.
@@ -412,7 +412,7 @@
 #ifdef _SDP_CONN_STATE_REC
        struct sdp_conn_state state_rec;
 #endif
-}; /* struct sdp_opt */
+};
 
 #define SDP_WRAP_GT(x, y) ((signed int)((x) - (y)) > 0)
 #define SDP_WRAP_LT(x, y) ((signed int)((x) - (y)) < 0)

Modified: gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_dev.h
===================================================================
--- gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_dev.h    2005-02-25 19:03:30 UTC (rev 1919)
+++ gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_dev.h    2005-02-25 19:57:15 UTC (rev 1920)
@@ -143,7 +143,7 @@
        u8                    index; /* port ID */
        union ib_gid          gid;   /* port GID */
        struct sdev_hca_port *next;  /* next port in the list */
-}; /* struct sdev_hca_port */
+};
 
 struct sdev_hca {
        struct ib_device     *ca;        /* HCA */
@@ -154,7 +154,7 @@
        struct ib_fmr_pool   *fmr_pool;  /* fast memory for Zcopy */
        struct sdev_hca_port *port_list; /* ports on this HCA */
        struct sdev_hca      *next;      /* next HCA in the list */
-}; /* struct sdev_hca */
+};
 
 struct sdev_root {
        u32 src_addr;
@@ -196,6 +196,6 @@
         */
        kmem_cache_t *conn_cache;
        kmem_cache_t *sock_cache;
-}; /* struct sdev_root */
+};
 
 #endif /* _SDP_DEV_H */

Modified: gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_inet.c
===================================================================
--- gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_inet.c   2005-02-25 19:03:30 UTC (rev 1919)
+++ gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_inet.c   2005-02-25 19:57:15 UTC (rev 1920)
@@ -1399,7 +1399,7 @@
        .socketpair =  sock_no_socketpair,
        .mmap       =  sock_no_mmap,
        .owner      =  THIS_MODULE,
-}; /* _lnx_stream_ops */
+};
 
 /*
  * _sdp_inet_create - create a socket
@@ -1451,7 +1451,7 @@
        .family =  AF_INET_SDP,
        .create = _sdp_inet_create,
        .owner  =  THIS_MODULE,
-}; /* _pf_family */
+};
 
 /*
  * SDP host module load/unload functions

Modified: gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_iocb.h
===================================================================
--- gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_iocb.h   2005-02-25 19:03:30 UTC (rev 1919)
+++ gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_iocb.h   2005-02-25 19:57:15 UTC (rev 1920)
@@ -114,7 +114,7 @@
         */
        struct kiocb *req;
        struct sock_iocb *si;
-}; /* struct sdpc_iocb */
+};
 
 /*
  * table for IOCBs
@@ -122,7 +122,7 @@
 struct sdpc_iocb_q {
        struct sdpc_iocb *head; /* double linked list of IOCBs */
        int size;               /* current number of IOCBs in table */
-}; /* struct sdpc_iocb_q */
+};
 
 /*
  * Address translations

Modified: gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_link.h
===================================================================
--- gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_link.h   2005-02-25 19:03:30 UTC (rev 1919)
+++ gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_link.h   2005-02-25 19:57:15 UTC (rev 1920)
@@ -64,7 +64,7 @@
        struct sdp_path_info **pext; /* previous next element in path list */
 
        struct sdp_path_wait  *wait_list; /* waiting for completions */
-}; /* struct sdp_path_info */
+};
 
 struct sdp_path_wait {
        u64 id;  /* request identifier */
@@ -80,12 +80,12 @@
        int   retry;
        struct sdp_path_wait  *next;
        struct sdp_path_wait **pext;
-}; /* struct sdp_path_wait */
+};
 
 struct sdp_work {
        struct work_struct work;
        void *arg;
-}; /* struct sdp_work */
+};
 
 struct sdp_link_arp {
        /*

Modified: gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_proc.h
===================================================================
--- gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_proc.h   2005-02-25 19:03:30 UTC (rev 1919)
+++ gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_proc.h   2005-02-25 19:57:15 UTC (rev 1920)
@@ -65,6 +65,6 @@
                    int   max_size,
                    off_t start, 
                    long *end);
-}; /* struct sdpc_proc_ent */
+};
 
 #endif /* _SDP_PROC_H */

Modified: gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_queue.h
===================================================================
--- gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_queue.h  2005-02-25 19:03:30 UTC (rev 1919)
+++ gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_queue.h  2005-02-25 19:57:15 UTC (rev 1920)
@@ -55,7 +55,7 @@
        u32                 type;  /* element type. (for generic queue) */
        struct sdpc_desc_q *table; /* table to which this object belongs */
        int (*release)(struct sdpc_desc *element); /* release the object */
-}; /* struct sdpc_desc */
+};
 
 /*
  * table for holding SDP advertisments.
@@ -64,7 +64,7 @@
        struct sdpc_desc *head; /* double linked list of advertisments */
        int size;               /* current number of advertisments in table */
        u16 count[SDP_DESC_TYPE_NONE]; /* object specific counter */
-}; /* struct sdpc_desc_q */
+};
 
 /*
  * SDP generic queue inline functions

Modified: gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_rcvd.c
===================================================================
--- gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_rcvd.c   2005-02-25 19:03:30 UTC (rev 1919)
+++ gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_rcvd.c   2005-02-25 19:57:15 UTC (rev 1920)
@@ -1084,7 +1084,7 @@
        _sdp_rcvd_snk_avail,        /* SDP_MID_SNK_AVAIL        0xFD */
        _sdp_rcvd_src_avail,        /* SDP_MID_SRC_AVAIL        0xFE */
        _sdp_rcvd_data              /* SDP_MID_DATA             0xFF */
-}; /* recv_event_funcs */
+};
 
 /*
  * sdp_event_recv - recv event demultiplexing into sdp messages

Modified: gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_sent.c
===================================================================
--- gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_sent.c   2005-02-25 19:03:30 UTC (rev 1919)
+++ gen2/trunk/src/linux-kernel/infiniband/ulp/sdp/sdp_sent.c   2005-02-25 19:57:15 UTC (rev 1920)
@@ -316,7 +316,7 @@
        _sdp_sent_snk_avail,       /* SDP_MID_SNK_AVAIL        0xFD */
        _sdp_sent_src_avail,       /* SDP_MID_SRC_AVAIL        0xFE */
        _sdp_sent_data             /* SDP_MID_DATA             0xFF */
-}; /* send_event_funcs */
+};
 
 /*
  * sdp_event_send - send event handler



More information about the openib-commits mailing list