* Re: thinkpad_acpi: define _sta only when needed
[not found] <1200488504-6789-1-git-send-email-hannes@saeurebad.de>
@ 2008-01-16 19:13 ` Henrique de Moraes Holschuh
2008-01-16 21:10 ` Johannes Weiner
[not found] ` <1200488504-6789-2-git-send-email-hannes@saeurebad.de>
1 sibling, 1 reply; 5+ messages in thread
From: Henrique de Moraes Holschuh @ 2008-01-16 19:13 UTC (permalink / raw)
To: Johannes Weiner; +Cc: linux-kernel, linux-acpi
On Wed, 16 Jan 2008, Johannes Weiner wrote:
> Define _sta() helper conditionally; also remove its prototype from
> the internal header and also some other unneeded ones.
>
> This function is only needed when the bay or the dock subdriver is
> enabled. Otherwise, gcc complains about an unused static function.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
Johannes, thanks for the patches, but NAK. A similar group of patches that
clean up the _sta and heander file (kills it, actually) has already been
sent to Len Brown to be merged for 2.6.25.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] thinkpad_acpi: Remove superfluous prototypes from internal header
[not found] ` <1200488504-6789-2-git-send-email-hannes@saeurebad.de>
@ 2008-01-16 19:13 ` Henrique de Moraes Holschuh
[not found] ` <1200488504-6789-3-git-send-email-hannes@saeurebad.de>
1 sibling, 0 replies; 5+ messages in thread
From: Henrique de Moraes Holschuh @ 2008-01-16 19:13 UTC (permalink / raw)
To: Johannes Weiner; +Cc: linux-kernel, linux-acpi
Equivalent patch already sent to Len Brown for 2.6.25, removing the header
file altogether...
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] thinkpad_acpi: Define _sta() only when there are callsites
[not found] ` <1200488504-6789-3-git-send-email-hannes@saeurebad.de>
@ 2008-01-16 19:14 ` Henrique de Moraes Holschuh
0 siblings, 0 replies; 5+ messages in thread
From: Henrique de Moraes Holschuh @ 2008-01-16 19:14 UTC (permalink / raw)
To: Johannes Weiner; +Cc: linux-kernel, linux-acpi
Another version of this patch has been sent to Len Brown for 2.6.25 already.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: thinkpad_acpi: define _sta only when needed
2008-01-16 19:13 ` thinkpad_acpi: define _sta only when needed Henrique de Moraes Holschuh
@ 2008-01-16 21:10 ` Johannes Weiner
2008-01-16 21:54 ` Henrique de Moraes Holschuh
0 siblings, 1 reply; 5+ messages in thread
From: Johannes Weiner @ 2008-01-16 21:10 UTC (permalink / raw)
To: Henrique de Moraes Holschuh; +Cc: linux-kernel, linux-acpi
Hi Henrique,
Henrique de Moraes Holschuh <hmh@hmh.eng.br> writes:
> On Wed, 16 Jan 2008, Johannes Weiner wrote:
>> Define _sta() helper conditionally; also remove its prototype from
>> the internal header and also some other unneeded ones.
>>
>> This function is only needed when the bay or the dock subdriver is
>> enabled. Otherwise, gcc complains about an unused static function.
>
> Johannes, thanks for the patches, but NAK. A similar group of patches that
> clean up the _sta and heander file (kills it, actually) has already been
> sent to Len Brown to be merged for 2.6.25.
Sorry, I missed to check his tree in advance. And if the work is
already done - even better! :)
Hannes
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: thinkpad_acpi: define _sta only when needed
2008-01-16 21:10 ` Johannes Weiner
@ 2008-01-16 21:54 ` Henrique de Moraes Holschuh
0 siblings, 0 replies; 5+ messages in thread
From: Henrique de Moraes Holschuh @ 2008-01-16 21:54 UTC (permalink / raw)
To: Johannes Weiner; +Cc: linux-kernel, linux-acpi
On Wed, 16 Jan 2008, Johannes Weiner wrote:
> > Johannes, thanks for the patches, but NAK. A similar group of patches that
> > clean up the _sta and heander file (kills it, actually) has already been
> > sent to Len Brown to be merged for 2.6.25.
>
> Sorry, I missed to check his tree in advance. And if the work is
> already done - even better! :)
I don't think Len merged the latest version of the patchset yet, but a
previous version is available in the acpi-test tree. The latest version was
posted to linux-acpi recently.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-01-16 21:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1200488504-6789-1-git-send-email-hannes@saeurebad.de>
2008-01-16 19:13 ` thinkpad_acpi: define _sta only when needed Henrique de Moraes Holschuh
2008-01-16 21:10 ` Johannes Weiner
2008-01-16 21:54 ` Henrique de Moraes Holschuh
[not found] ` <1200488504-6789-2-git-send-email-hannes@saeurebad.de>
2008-01-16 19:13 ` [PATCH] thinkpad_acpi: Remove superfluous prototypes from internal header Henrique de Moraes Holschuh
[not found] ` <1200488504-6789-3-git-send-email-hannes@saeurebad.de>
2008-01-16 19:14 ` [PATCH] thinkpad_acpi: Define _sta() only when there are callsites Henrique de Moraes Holschuh
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).