Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
982f6ffe
Commit
982f6ffe
authored
Sep 17, 2009
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIPS: Remove useless zero initializations.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
2882b0c6
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
38 additions
and
38 deletions
+38
-38
arch/mips/boot/elf2ecoff.c
arch/mips/boot/elf2ecoff.c
+2
-2
arch/mips/dec/prom/memory.c
arch/mips/dec/prom/memory.c
+1
-1
arch/mips/emma/markeins/setup.c
arch/mips/emma/markeins/setup.c
+1
-1
arch/mips/fw/cfe/cfe_api.c
arch/mips/fw/cfe/cfe_api.c
+2
-2
arch/mips/kernel/cpu-bugs64.c
arch/mips/kernel/cpu-bugs64.c
+1
-1
arch/mips/kernel/cpu-probe.c
arch/mips/kernel/cpu-probe.c
+2
-2
arch/mips/kernel/kspd.c
arch/mips/kernel/kspd.c
+3
-3
arch/mips/kernel/mips-mt-fpaff.c
arch/mips/kernel/mips-mt-fpaff.c
+1
-1
arch/mips/kernel/mips-mt.c
arch/mips/kernel/mips-mt.c
+5
-5
arch/mips/kernel/rtlx.c
arch/mips/kernel/rtlx.c
+1
-1
arch/mips/kernel/setup.c
arch/mips/kernel/setup.c
+1
-1
arch/mips/kernel/smtc.c
arch/mips/kernel/smtc.c
+5
-5
arch/mips/kernel/vpe.c
arch/mips/kernel/vpe.c
+1
-1
arch/mips/mipssim/sim_setup.c
arch/mips/mipssim/sim_setup.c
+1
-1
arch/mips/mm/tlb-r4k.c
arch/mips/mm/tlb-r4k.c
+1
-1
arch/mips/mti-malta/malta-init.c
arch/mips/mti-malta/malta-init.c
+1
-1
arch/mips/nxp/pnx833x/stb22x/board.c
arch/mips/nxp/pnx833x/stb22x/board.c
+1
-1
arch/mips/nxp/pnx8550/common/proc.c
arch/mips/nxp/pnx8550/common/proc.c
+3
-3
arch/mips/pci/pci-bcm1480.c
arch/mips/pci/pci-bcm1480.c
+1
-1
arch/mips/pci/pci-bcm1480ht.c
arch/mips/pci/pci-bcm1480ht.c
+1
-1
arch/mips/pci/pci-sb1250.c
arch/mips/pci/pci-sb1250.c
+1
-1
arch/mips/pci/pci.c
arch/mips/pci/pci.c
+2
-2
No files found.
arch/mips/boot/elf2ecoff.c
View file @
982f6ffe
...
...
@@ -59,8 +59,8 @@ struct sect {
};
int
*
symTypeTable
;
int
must_convert_endian
=
0
;
int
format_bigendian
=
0
;
int
must_convert_endian
;
int
format_bigendian
;
static
void
copy
(
int
out
,
int
in
,
off_t
offset
,
off_t
size
)
{
...
...
arch/mips/dec/prom/memory.c
View file @
982f6ffe
...
...
@@ -18,7 +18,7 @@
#include <asm/sections.h>
volatile
unsigned
long
mem_err
=
0
;
/* So we know an error occurred */
volatile
unsigned
long
mem_err
;
/* So we know an error occurred */
/*
* Probe memory in 4MB chunks, waiting for an error to tell us we've fallen
...
...
arch/mips/emma/markeins/setup.c
View file @
982f6ffe
...
...
@@ -32,7 +32,7 @@
extern
void
markeins_led
(
const
char
*
);
static
int
bus_frequency
=
0
;
static
int
bus_frequency
;
static
void
markeins_machine_restart
(
char
*
command
)
{
...
...
arch/mips/fw/cfe/cfe_api.c
View file @
982f6ffe
...
...
@@ -45,8 +45,8 @@ int cfe_iocb_dispatch(struct cfe_xiocb *xiocb);
* passed in two registers each, and CFE expects one.
*/
static
int
(
*
cfe_dispfunc
)
(
intptr_t
handle
,
intptr_t
xiocb
)
=
0
;
static
u64
cfe_handle
=
0
;
static
int
(
*
cfe_dispfunc
)
(
intptr_t
handle
,
intptr_t
xiocb
);
static
u64
cfe_handle
;
int
cfe_init
(
u64
handle
,
u64
ept
)
{
...
...
arch/mips/kernel/cpu-bugs64.c
View file @
982f6ffe
...
...
@@ -167,7 +167,7 @@ static inline void check_mult_sh(void)
panic
(
bug64hit
,
!
R4000_WAR
?
r4kwar
:
nowar
);
}
static
volatile
int
daddi_ov
__cpuinitdata
=
0
;
static
volatile
int
daddi_ov
__cpuinitdata
;
asmlinkage
void
__init
do_daddi_ov
(
struct
pt_regs
*
regs
)
{
...
...
arch/mips/kernel/cpu-probe.c
View file @
982f6ffe
...
...
@@ -31,7 +31,7 @@
* The wait instruction stops the pipeline and reduces the power consumption of
* the CPU very much.
*/
void
(
*
cpu_wait
)(
void
)
=
NULL
;
void
(
*
cpu_wait
)(
void
);
static
void
r3081_wait
(
void
)
{
...
...
@@ -112,7 +112,7 @@ static void au1k_wait(void)
:
:
"r"
(
au1k_wait
));
}
static
int
__initdata
nowait
=
0
;
static
int
__initdata
nowait
;
static
int
__init
wait_disable
(
char
*
s
)
{
...
...
arch/mips/kernel/kspd.c
View file @
982f6ffe
...
...
@@ -31,7 +31,7 @@
#include <asm/rtlx.h>
#include <asm/kspd.h>
static
struct
workqueue_struct
*
workqueue
=
NULL
;
static
struct
workqueue_struct
*
workqueue
;
static
struct
work_struct
work
;
extern
unsigned
long
cpu_khz
;
...
...
@@ -58,7 +58,7 @@ struct mtsp_syscall_generic {
};
static
struct
list_head
kspd_notifylist
;
static
int
sp_stopping
=
0
;
static
int
sp_stopping
;
/* these should match with those in the SDE kit */
#define MTSP_SYSCALL_BASE 0
...
...
@@ -328,7 +328,7 @@ static void sp_cleanup(void)
sys_chdir
(
"/"
);
}
static
int
channel_open
=
0
;
static
int
channel_open
;
/* the work handler */
static
void
sp_work
(
struct
work_struct
*
unused
)
...
...
arch/mips/kernel/mips-mt-fpaff.c
View file @
982f6ffe
...
...
@@ -18,7 +18,7 @@
cpumask_t
mt_fpu_cpumask
;
static
int
fpaff_threshold
=
-
1
;
unsigned
long
mt_fpemul_threshold
=
0
;
unsigned
long
mt_fpemul_threshold
;
/*
* Replacement functions for the sys_sched_setaffinity() and
...
...
arch/mips/kernel/mips-mt.c
View file @
982f6ffe
...
...
@@ -125,10 +125,10 @@ void mips_mt_regdump(unsigned long mvpctl)
local_irq_restore
(
flags
);
}
static
int
mt_opt_norps
=
0
;
static
int
mt_opt_norps
;
static
int
mt_opt_rpsctl
=
-
1
;
static
int
mt_opt_nblsu
=
-
1
;
static
int
mt_opt_forceconfig7
=
0
;
static
int
mt_opt_forceconfig7
;
static
int
mt_opt_config7
=
-
1
;
static
int
__init
rps_disable
(
char
*
s
)
...
...
@@ -161,8 +161,8 @@ static int __init config7_set(char *str)
__setup
(
"config7="
,
config7_set
);
/* Experimental cache flush control parameters that should go away some day */
int
mt_protiflush
=
0
;
int
mt_protdflush
=
0
;
int
mt_protiflush
;
int
mt_protdflush
;
int
mt_n_iflushes
=
1
;
int
mt_n_dflushes
=
1
;
...
...
@@ -194,7 +194,7 @@ static int __init ndflush(char *s)
}
__setup
(
"ndflush="
,
ndflush
);
static
unsigned
int
itc_base
=
0
;
static
unsigned
int
itc_base
;
static
int
__init
set_itc_base
(
char
*
str
)
{
...
...
arch/mips/kernel/rtlx.c
View file @
982f6ffe
...
...
@@ -57,7 +57,7 @@ static struct chan_waitqueues {
}
channel_wqs
[
RTLX_CHANNELS
];
static
struct
vpe_notifications
notify
;
static
int
sp_stopping
=
0
;
static
int
sp_stopping
;
extern
void
*
vpe_get_shared
(
int
index
);
...
...
arch/mips/kernel/setup.c
View file @
982f6ffe
...
...
@@ -441,7 +441,7 @@ static void __init bootmem_init(void)
* initialization hook for anything else was introduced.
*/
static
int
usermem
__initdata
=
0
;
static
int
usermem
__initdata
;
static
int
__init
early_parse_mem
(
char
*
p
)
{
...
...
arch/mips/kernel/smtc.c
View file @
982f6ffe
...
...
@@ -95,14 +95,14 @@ void init_smtc_stats(void);
/* Global SMTC Status */
unsigned
int
smtc_status
=
0
;
unsigned
int
smtc_status
;
/* Boot command line configuration overrides */
static
int
vpe0limit
;
static
int
ipibuffers
=
0
;
static
int
nostlb
=
0
;
static
int
asidmask
=
0
;
static
int
ipibuffers
;
static
int
nostlb
;
static
int
asidmask
;
unsigned
long
smtc_asid_mask
=
0xff
;
static
int
__init
vpe0tcs
(
char
*
str
)
...
...
@@ -151,7 +151,7 @@ __setup("asidmask=", asidmask_set);
#ifdef CONFIG_SMTC_IDLE_HOOK_DEBUG
static
int
hang_trig
=
0
;
static
int
hang_trig
;
static
int
__init
hangtrig_enable
(
char
*
s
)
{
...
...
arch/mips/kernel/vpe.c
View file @
982f6ffe
...
...
@@ -74,7 +74,7 @@ static const int minor = 1; /* fixed for now */
#ifdef CONFIG_MIPS_APSP_KSPD
static
struct
kspd_notifications
kspd_events
;
static
int
kspd_events_reqd
=
0
;
static
int
kspd_events_reqd
;
#endif
/* grab the likely amount of memory we will need. */
...
...
arch/mips/mipssim/sim_setup.c
View file @
982f6ffe
...
...
@@ -37,7 +37,7 @@
static
void
__init
serial_init
(
void
);
unsigned
int
_isbonito
=
0
;
unsigned
int
_isbonito
;
const
char
*
get_system_type
(
void
)
{
...
...
arch/mips/mm/tlb-r4k.c
View file @
982f6ffe
...
...
@@ -475,7 +475,7 @@ static void __cpuinit probe_tlb(unsigned long config)
c
->
tlbsize
=
((
reg
>>
25
)
&
0x3f
)
+
1
;
}
static
int
__cpuinitdata
ntlb
=
0
;
static
int
__cpuinitdata
ntlb
;
static
int
__init
set_ntlb
(
char
*
str
)
{
get_option
(
&
str
,
&
ntlb
);
...
...
arch/mips/mti-malta/malta-init.c
View file @
982f6ffe
...
...
@@ -47,7 +47,7 @@ int *_prom_argv, *_prom_envp;
*/
#define prom_envp(index) ((char *)(long)_prom_envp[(index)])
int
init_debug
=
0
;
int
init_debug
;
static
int
mips_revision_corid
;
int
mips_revision_sconid
;
...
...
arch/mips/nxp/pnx833x/stb22x/board.c
View file @
982f6ffe
...
...
@@ -39,7 +39,7 @@
#define PNX8335_DEBUG7 0x441c
int
prom_argc
;
char
**
prom_argv
=
0
,
**
prom_envp
=
0
;
char
**
prom_argv
,
**
prom_envp
;
extern
void
prom_init_cmdline
(
void
);
extern
char
*
prom_getenv
(
char
*
envname
);
...
...
arch/mips/nxp/pnx8550/common/proc.c
View file @
982f6ffe
...
...
@@ -69,9 +69,9 @@ static int pnx8550_registers_read(char* page, char** start, off_t offset, int co
return
len
;
}
static
struct
proc_dir_entry
*
pnx8550_dir
=
NULL
;
static
struct
proc_dir_entry
*
pnx8550_timers
=
NULL
;
static
struct
proc_dir_entry
*
pnx8550_registers
=
NULL
;
static
struct
proc_dir_entry
*
pnx8550_dir
;
static
struct
proc_dir_entry
*
pnx8550_timers
;
static
struct
proc_dir_entry
*
pnx8550_registers
;
static
int
pnx8550_proc_init
(
void
)
{
...
...
arch/mips/pci/pci-bcm1480.c
View file @
982f6ffe
...
...
@@ -57,7 +57,7 @@ static void *cfg_space;
#define PCI_BUS_ENABLED 1
#define PCI_DEVICE_MODE 2
static
int
bcm1480_bus_status
=
0
;
static
int
bcm1480_bus_status
;
#define PCI_BRIDGE_DEVICE 0
...
...
arch/mips/pci/pci-bcm1480ht.c
View file @
982f6ffe
...
...
@@ -56,7 +56,7 @@ static void *ht_cfg_space;
#define PCI_BUS_ENABLED 1
#define PCI_DEVICE_MODE 2
static
int
bcm1480ht_bus_status
=
0
;
static
int
bcm1480ht_bus_status
;
#define PCI_BRIDGE_DEVICE 0
#define HT_BRIDGE_DEVICE 1
...
...
arch/mips/pci/pci-sb1250.c
View file @
982f6ffe
...
...
@@ -58,7 +58,7 @@ static void *cfg_space;
#define LDT_BUS_ENABLED 2
#define PCI_DEVICE_MODE 4
static
int
sb1250_bus_status
=
0
;
static
int
sb1250_bus_status
;
#define PCI_BRIDGE_DEVICE 0
#define LDT_BRIDGE_DEVICE 1
...
...
arch/mips/pci/pci.c
View file @
982f6ffe
...
...
@@ -31,8 +31,8 @@ unsigned int pci_probe = PCI_ASSIGN_ALL_BUSSES;
static
struct
pci_controller
*
hose_head
,
**
hose_tail
=
&
hose_head
;
unsigned
long
PCIBIOS_MIN_IO
=
0x0000
;
unsigned
long
PCIBIOS_MIN_MEM
=
0
;
unsigned
long
PCIBIOS_MIN_IO
;
unsigned
long
PCIBIOS_MIN_MEM
;
static
int
pci_initialized
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment