Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1502497
| From | Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/2] staging: lustre: remove class_devno_max |
| Date | 2016-10-17 23:50 +0200 |
| Message-ID | <stnXb-TE-11@gated-at.bofh.it> (permalink) |
| References | <stnXb-TE-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
class_devno_max is an inline function that is not used
anymore. Hence, it is removed.
Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com>
---
drivers/staging/lustre/lustre/include/obd_class.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/staging/lustre/lustre/include/obd_class.h b/drivers/staging/lustre/lustre/include/obd_class.h
index 6482a93..84f36b0 100644
--- a/drivers/staging/lustre/lustre/include/obd_class.h
+++ b/drivers/staging/lustre/lustre/include/obd_class.h
@@ -406,11 +406,6 @@ do { \
} \
} while (0)
-static inline int class_devno_max(void)
-{
- return MAX_OBD_DEVICES;
-}
-
static inline int obd_get_info(const struct lu_env *env,
struct obd_export *exp, __u32 keylen,
void *key, __u32 *vallen, void *val,
--
2.5.0
--
Kind Regards,
Aya Saif El-yazal Mahfouz
Back to linux.kernel | Previous | Next — Previous in thread | 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