Author: dim
Date: Wed Oct  9 07:02:03 2013
New Revision: 256179
URL: http://svnweb.freebsd.org/changeset/base/256179

Log:
  Remove redundant declaration of cmclass in
  sys/ofed/drivers/infiniband/core/ucm.c, to silence a gcc warning.
  
  Approved by:  re (kib)
  X-MFC-With:   r255932

Modified:
  head/sys/ofed/drivers/infiniband/core/ucm.c

Modified: head/sys/ofed/drivers/infiniband/core/ucm.c
==============================================================================
--- head/sys/ofed/drivers/infiniband/core/ucm.c Wed Oct  9 06:19:01 2013        
(r256178)
+++ head/sys/ofed/drivers/infiniband/core/ucm.c Wed Oct  9 07:02:03 2013        
(r256179)
@@ -104,9 +104,6 @@ enum {
        IB_UCM_MAX_DEVICES = 32
 };
 
-/* ib_cm and ib_user_cm modules share /sys/class/infiniband_cm */
-extern struct class cm_class;
-
 #define IB_UCM_BASE_DEV MKDEV(IB_UCM_MAJOR, IB_UCM_BASE_MINOR)
 
 static void ib_ucm_add_one(struct ib_device *device);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to