Signed-off-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> --- arch/sandbox/board/hostfile.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/sandbox/board/hostfile.c b/arch/sandbox/board/hostfile.c index 6ec3b87efa86..fef9f5cffa89 100644 --- a/arch/sandbox/board/hostfile.c +++ b/arch/sandbox/board/hostfile.c @@ -28,7 +28,6 @@ struct hf_priv { struct cdev cdev; - struct hf_platform_data *pdata; }; static ssize_t hf_read(struct cdev *cdev, void *buf, size_t count, loff_t offset, ulong flags) @@ -71,8 +70,6 @@ static int hf_probe(struct device_d *dev) struct hf_platform_data *hf = dev->platform_data; struct hf_priv *priv = xzalloc(sizeof(*priv)); - priv->pdata = hf; - priv->cdev.name = hf->devname; priv->cdev.size = hf->size; priv->cdev.dev = dev; -- 2.1.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox