remove unnecessary init value

This commit is contained in:
Ralph Metzler 2017-12-11 16:11:20 +01:00
parent b42358eaa2
commit 3806b4d2da
1 changed files with 2 additions and 2 deletions

View File

@ -163,7 +163,7 @@ static struct dvb_ca_en50221 en_templ = {
static void ci_attach(struct ddb_port *port)
{
struct ddb_ci *ci = 0;
struct ddb_ci *ci;
ci = kzalloc(sizeof(*ci), GFP_KERNEL);
if (!ci)
@ -294,7 +294,7 @@ static struct dvb_ca_en50221 en_xo2_templ = {
static void ci_xo2_attach(struct ddb_port *port)
{
struct ddb_ci *ci = 0;
struct ddb_ci *ci;
struct i2c_adapter *i2c;
ci = kzalloc(sizeof(*ci), GFP_KERNEL);