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
This commit is contained in:
Dimitry Andric 2013-10-09 07:02:03 +00:00
parent 200758f114
commit cb53fc2dad
1 changed files with 0 additions and 3 deletions

View File

@ -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);