Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1695720

Re: [PATCH] sh: remove references to CPU_SUBTYPE_SH7764

From Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Newsgroups linux.kernel
Subject Re: [PATCH] sh: remove references to CPU_SUBTYPE_SH7764
Date 2017-07-25 15:10 +0200
Message-ID <u77L4-3dw-19@gated-at.bofh.it> (permalink)
References <kM9yy-86-11@gated-at.bofh.it> <u77Bo-2Vd-29@gated-at.bofh.it>
Organization Cogent Embedded

Show all headers | View raw


On 07/25/2017 03:54 PM, Sergei Shtylyov wrote:

>> Since release v2.6.29 the tree has a few references to the Kconfig
>> symbol CPU_SUBTYPE_SH7764 and the Kconfig macro
>> CONFIG_CPU_SUBTYPE_SH7764. But the actual symbol CPU_SUBTYPE_SH7764 was
>> never added to the tree. Perhaps no one noticed because these references
>> were never used alone. Anyhow, these references serve no purpose and
>> can be removed.
>>
>> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
>> ---
>> Untested: I don't have the hardware. Neither do I have the compiler for
>> this architecture at hand.
> [...]
>> diff --git a/drivers/net/ethernet/renesas/sh_eth.c
>> b/drivers/net/ethernet/renesas/sh_eth.c
>> index 33e9617..44a3d7b 100644
>> --- a/drivers/net/ethernet/renesas/sh_eth.c
>> +++ b/drivers/net/ethernet/renesas/sh_eth.c
>> @@ -1653,7 +1653,6 @@ static int sh_eth_open(struct net_device *ndev)
>>
>>      ret = request_irq(ndev->irq, sh_eth_interrupt,
>>  #if defined(CONFIG_CPU_SUBTYPE_SH7763) || \
>> -    defined(CONFIG_CPU_SUBTYPE_SH7764) || \
>>      defined(CONFIG_CPU_SUBTYPE_SH7757)
>>                  IRQF_SHARED,
>>  #else
>
>     This code is long gone -- what tree is your patch based upon?

    Oops, didn't realize this mail was from 2013. :-)

MBR, Sergei

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH] sh: remove references to CPU_SUBTYPE_SH7764 Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2017-07-25 15:00 +0200
  Re: [PATCH] sh: remove references to CPU_SUBTYPE_SH7764 Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2017-07-25 15:10 +0200

csiph-web