Commit 4ff78a28 authored by Luis Fernando Ruiz's avatar Luis Fernando Ruiz Committed by Alessandro Rubini

trivial: remove unused variable in fd_probe()

parent dce8548b
......@@ -142,7 +142,6 @@ int fd_probe(struct fmc_device *fmc)
{
struct fd_modlist *m;
struct fd_dev *fd;
struct spec_dev *spec;
struct device *dev = fmc->hwdev;
char *fwname;
int i, index, ret;
......@@ -198,8 +197,6 @@ int fd_probe(struct fmc_device *fmc)
if (fd_show_sdb)
fmc_show_sdb_tree(fmc);
spec = fmc->carrier_data;
spin_lock_init(&fd->lock);
fmc->mezzanine_data = fd;
fd->fmc = fmc;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment