Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 982f6ffe authored by Ralf Baechle's avatar Ralf Baechle
Browse files

MIPS: Remove useless zero initializations.

parent 2882b0c6
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -59,8 +59,8 @@ struct sect {
};
};


int *symTypeTable;
int *symTypeTable;
int must_convert_endian = 0;
int must_convert_endian;
int format_bigendian = 0;
int format_bigendian;


static void copy(int out, int in, off_t offset, off_t size)
static void copy(int out, int in, off_t offset, off_t size)
{
{
+1 −1
Original line number Original line Diff line number Diff line
@@ -18,7 +18,7 @@
#include <asm/sections.h>
#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
 * Probe memory in 4MB chunks, waiting for an error to tell us we've fallen
+1 −1
Original line number Original line Diff line number Diff line
@@ -32,7 +32,7 @@


extern void markeins_led(const char *);
extern void markeins_led(const char *);


static int bus_frequency = 0;
static int bus_frequency;


static void markeins_machine_restart(char *command)
static void markeins_machine_restart(char *command)
{
{
+2 −2
Original line number Original line Diff line number Diff line
@@ -45,8 +45,8 @@ int cfe_iocb_dispatch(struct cfe_xiocb *xiocb);
 * passed in two registers each, and CFE expects one.
 * passed in two registers each, and CFE expects one.
 */
 */


static int (*cfe_dispfunc) (intptr_t handle, intptr_t xiocb) = 0;
static int (*cfe_dispfunc) (intptr_t handle, intptr_t xiocb);
static u64 cfe_handle = 0;
static u64 cfe_handle;


int cfe_init(u64 handle, u64 ept)
int cfe_init(u64 handle, u64 ept)
{
{
+1 −1
Original line number Original line Diff line number Diff line
@@ -167,7 +167,7 @@ static inline void check_mult_sh(void)
	panic(bug64hit, !R4000_WAR ? r4kwar : nowar);
	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)
asmlinkage void __init do_daddi_ov(struct pt_regs *regs)
{
{
Loading