Skip to content

Commit

Permalink
templates/device_model/bex_misc: Remove unused macro
Browse files Browse the repository at this point in the history
Signed-off-by: SeongJae Park <[email protected]>
  • Loading branch information
sjp38 authored and tavip committed Dec 7, 2020
1 parent 742a4d8 commit 4c5cf62
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tools/labs/templates/device_model/bex_misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ struct bex_misc_device {
char buf[BUF_SIZE];
};

#define to_bex_misc_dev(dev) container_of(dev, struct bex_misc_device, dev)

static int my_open(struct inode *inode, struct file *file)
{
return 0;
Expand Down

0 comments on commit 4c5cf62

Please sign in to comment.