Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1502496
| From | Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/2] staging: lustre: replace and remove class_devno_max |
| Date | 2016-10-17 23:50 +0200 |
| Message-ID | <stnXb-TE-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/2] staging: lustre: replace and remove class_devno_max Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> - 2016-10-17 23:50 +0200
[PATCH 2/2] staging: lustre: remove class_devno_max Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> - 2016-10-17 23:50 +0200
[PATCH 1/2] staging: lustre: replace uses of class_devno_max by MAX_OBD_DEVICES Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> - 2016-10-17 23:50 +0200
Re: [PATCH 1/2] staging: lustre: replace uses of class_devno_max by MAX_OBD_DEVICES "Dilger, Andreas" <andreas.dilger@intel.com> - 2016-10-18 00:40 +0200
Re: [PATCH 1/2] staging: lustre: replace uses of class_devno_max by MAX_OBD_DEVICES Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> - 2016-10-25 18:50 +0200
csiph-web