All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] staging: lustre: replace and remove class_devno_max
@ 2016-10-17 21:45 ` Aya Mahfouz
  0 siblings, 0 replies; 17+ messages in thread
From: Aya Mahfouz @ 2016-10-17 21:45 UTC (permalink / raw)
  To: Greg Kroah-Hartman, devel, Oleg Drokin, Andreas Dilger,
	lustre-devel, linux-kernel

class_devno_max is an inline function that is written with
the sole purpose of returning the value of MAX_OBD_DEVICES.
Since no computations are made by the class_devno_max, 
replace it with MAX_OBD_DEVICES.

Aya Mahfouz (2):
  staging: lustre: replace uses of class_devno_max by MAX_OBD_DEVICES
  staging: lustre: remove class_devno_max

 drivers/staging/lustre/lustre/include/obd_class.h  |  5 -----
 drivers/staging/lustre/lustre/obdclass/class_obd.c |  6 +++---
 drivers/staging/lustre/lustre/obdclass/genops.c    | 22 +++++++++++-----------
 .../lustre/lustre/obdclass/linux/linux-module.c    |  6 +++---
 4 files changed, 17 insertions(+), 22 deletions(-)

-- 
2.5.0


-- 
Kind Regards,
Aya Saif El-yazal Mahfouz

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2016-11-07 21:50 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-17 21:45 [PATCH 0/2] staging: lustre: replace and remove class_devno_max Aya Mahfouz
2016-10-17 21:45 ` [lustre-devel] " Aya Mahfouz
2016-10-17 21:46 ` [PATCH 1/2] staging: lustre: replace uses of class_devno_max by MAX_OBD_DEVICES Aya Mahfouz
2016-10-17 21:46   ` [lustre-devel] " Aya Mahfouz
2016-10-17 22:38   ` Dilger, Andreas
2016-10-17 22:38     ` [lustre-devel] " Dilger, Andreas
2016-10-25 16:47     ` Aya Mahfouz
2016-10-25 16:47       ` [lustre-devel] " Aya Mahfouz
2016-11-02 23:05       ` Dilger, Andreas
2016-11-04  8:37         ` Aya Mahfouz
2016-11-07  4:19           ` James Simmons
2016-11-07  9:01             ` Aya Mahfouz
2016-11-07  4:22           ` Oleg Drokin
2016-11-07  9:07             ` Aya Mahfouz
2016-11-07 21:50               ` Dilger, Andreas
2016-10-17 21:47 ` [PATCH 2/2] staging: lustre: remove class_devno_max Aya Mahfouz
2016-10-17 21:47   ` [lustre-devel] " Aya Mahfouz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.