mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
UBI: remove unused variable
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
This commit is contained in:
parent
485764016d
commit
d468a03002
@ -271,7 +271,6 @@ out_err:
|
|||||||
*/
|
*/
|
||||||
int ubi_create_gluebi(struct ubi_device *ubi, struct ubi_volume *vol)
|
int ubi_create_gluebi(struct ubi_device *ubi, struct ubi_volume *vol)
|
||||||
{
|
{
|
||||||
int err;
|
|
||||||
struct mtd_info *mtd = &vol->gluebi_mtd;
|
struct mtd_info *mtd = &vol->gluebi_mtd;
|
||||||
|
|
||||||
mtd->name = kmemdup(vol->name, vol->name_len + 1, GFP_KERNEL);
|
mtd->name = kmemdup(vol->name, vol->name_len + 1, GFP_KERNEL);
|
||||||
|
Loading…
Reference in New Issue
Block a user