diff options
-rw-r--r-- | drivers/mmc/host/atmel-mci.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c index becca9145070..39096083bb61 100644 --- a/drivers/mmc/host/atmel-mci.c +++ b/drivers/mmc/host/atmel-mci.c | |||
@@ -241,7 +241,6 @@ static void atmci_init_debugfs(struct atmel_mci *host) | |||
241 | struct mmc_host *mmc; | 241 | struct mmc_host *mmc; |
242 | struct dentry *root; | 242 | struct dentry *root; |
243 | struct dentry *node; | 243 | struct dentry *node; |
244 | struct resource *res; | ||
245 | 244 | ||
246 | mmc = host->mmc; | 245 | mmc = host->mmc; |
247 | root = mmc->debugfs_root; | 246 | root = mmc->debugfs_root; |
@@ -255,9 +254,6 @@ static void atmci_init_debugfs(struct atmel_mci *host) | |||
255 | if (!node) | 254 | if (!node) |
256 | goto err; | 255 | goto err; |
257 | 256 | ||
258 | res = platform_get_resource(host->pdev, IORESOURCE_MEM, 0); | ||
259 | node->d_inode->i_size = res->end - res->start + 1; | ||
260 | |||
261 | node = debugfs_create_file("req", S_IRUSR, root, host, &atmci_req_fops); | 257 | node = debugfs_create_file("req", S_IRUSR, root, host, &atmci_req_fops); |
262 | if (!node) | 258 | if (!node) |
263 | goto err; | 259 | goto err; |