From: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
devel@driverdev.osuosl.org, Oleg Drokin <oleg.drokin@intel.com>,
Andreas Dilger <andreas.dilger@intel.com>,
lustre-devel@lists.lustre.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] staging: lustre: replace and remove class_devno_max
Date: Mon, 17 Oct 2016 23:45:30 +0200 [thread overview]
Message-ID: <cover.1476739569.git.mahfouz.saif.elyazal@gmail.com> (raw)
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
next reply other threads:[~2016-10-17 21:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-17 21:45 Aya Mahfouz [this message]
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 22:38 ` Dilger, Andreas
2016-10-25 16:47 ` Aya Mahfouz
2016-10-17 21:47 ` [PATCH 2/2] staging: lustre: remove class_devno_max Aya Mahfouz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1476739569.git.mahfouz.saif.elyazal@gmail.com \
--to=mahfouz.saif.elyazal@gmail.com \
--cc=andreas.dilger@intel.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lustre-devel@lists.lustre.org \
--cc=oleg.drokin@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome