This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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
  • Loading branch information...
DimitryAndric committed Oct 9, 2013
1 parent f9f9a7e commit 255d648aec920f8660ba18ef659a9a08f5ee0198
Showing with 0 additions and 3 deletions.
  1. +0 −3 sys/ofed/drivers/infiniband/core/ucm.c
@@ -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);

0 comments on commit 255d648

Please sign in to comment.