From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: Paul Bolle <pebolle@tiscali.nl>
Cc: linux1394-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] firewire: Remove two unneeded checks for macros
Date: Tue, 19 Mar 2013 16:04:19 +0100 [thread overview]
Message-ID: <20130319160419.26197406@stein> (raw)
In-Reply-To: <1363439347.1335.129.camel@x61.thuisdomein>
On Mar 16 Paul Bolle wrote:
> The old IEEE 1394 driver stack was removed in v2.6.37. That made the
> checks for two Kconfig (module) macros unneeded, since they will now
> always evaluate to true. Remove these two checks.
>
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Looks good to me, will commit it sometime soon.
> ---
> Perhaps these alias can be dropped entirely. Bat that's not my call.
Perhaps. One could look through various distributor mkinitrds, but I
suspect that would be an impossible task. First of all, I have no idea
what the package names could be. Second, there seem to be quite a few
distributions which don't have any sensible public FTP/HTTP server from
which packages can be downloaded separately.
> drivers/firewire/ohci.c | 2 --
> drivers/firewire/sbp2.c | 2 --
> 2 files changed, 4 deletions(-)
>
> diff --git a/drivers/firewire/ohci.c b/drivers/firewire/ohci.c
> index 45912e6..4a55b51 100644
> --- a/drivers/firewire/ohci.c
> +++ b/drivers/firewire/ohci.c
> @@ -3837,6 +3837,4 @@ MODULE_DESCRIPTION("Driver for PCI OHCI IEEE1394 controllers");
> MODULE_LICENSE("GPL");
>
> /* Provide a module alias so root-on-sbp2 initrds don't break. */
> -#ifndef CONFIG_IEEE1394_OHCI1394_MODULE
> MODULE_ALIAS("ohci1394");
> -#endif
> diff --git a/drivers/firewire/sbp2.c b/drivers/firewire/sbp2.c
> index 1162d6b..12ec0e6 100644
> --- a/drivers/firewire/sbp2.c
> +++ b/drivers/firewire/sbp2.c
> @@ -1636,9 +1636,7 @@ MODULE_LICENSE("GPL");
> MODULE_DEVICE_TABLE(ieee1394, sbp2_id_table);
>
> /* Provide a module alias so root-on-sbp2 initrds don't break. */
> -#ifndef CONFIG_IEEE1394_SBP2_MODULE
> MODULE_ALIAS("sbp2");
> -#endif
>
> static int __init sbp2_init(void)
> {
--
Stefan Richter
-=====-===-= --== =--==
http://arcgraph.de/sr/
prev parent reply other threads:[~2013-03-19 15:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-16 13:09 [PATCH] firewire: Remove two unneeded checks for macros Paul Bolle
2013-03-19 15:04 ` Stefan Richter [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=20130319160419.26197406@stein \
--to=stefanr@s5r6.in-berlin.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux1394-devel@lists.sourceforge.net \
--cc=pebolle@tiscali.nl \
/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 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.