From: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Moni Shoua <monis-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] net/mlx4: Remove unused macro
Date: Tue, 19 Jan 2016 15:58:15 -0500 [thread overview]
Message-ID: <569EA367.5080603@redhat.com> (raw)
In-Reply-To: <1452786487-30438-1-git-send-email-monis-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1263 bytes --]
On 01/14/2016 10:48 AM, Moni Shoua wrote:
> The macro mlx4_foreach_non_ib_transport_port() is not used anywhere. Remove it.
>
> Fixes: aa9a2d51a3e7 ("mlx4: Activate RoCE/SRIOV")
> Signed-off-by: Moni Shoua <monis-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> ---
> include/linux/mlx4/device.h | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h
> index f70d210..6309ff1 100644
> --- a/include/linux/mlx4/device.h
> +++ b/include/linux/mlx4/device.h
> @@ -982,10 +982,6 @@ struct mlx4_mad_ifc {
> for ((port) = 1; (port) <= (dev)->caps.num_ports; (port)++) \
> if ((type) == (dev)->caps.port_mask[(port)])
>
> -#define mlx4_foreach_non_ib_transport_port(port, dev) \
> - for ((port) = 1; (port) <= (dev)->caps.num_ports; (port)++) \
> - if (((dev)->caps.port_mask[port] != MLX4_PORT_TYPE_IB))
> -
> #define mlx4_foreach_ib_transport_port(port, dev) \
> for ((port) = 1; (port) <= (dev)->caps.num_ports; (port)++) \
> if (((dev)->caps.port_mask[port] == MLX4_PORT_TYPE_IB) || \
>
Thanks, applied.
--
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
GPG KeyID: 0E572FDD
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 884 bytes --]
prev parent reply other threads:[~2016-01-19 20:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-14 15:48 [PATCH] net/mlx4: Remove unused macro Moni Shoua
[not found] ` <1452786487-30438-1-git-send-email-monis-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-01-19 20:58 ` Doug Ledford [this message]
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=569EA367.5080603@redhat.com \
--to=dledford-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=monis-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
/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;
as well as URLs for NNTP newsgroup(s).