Skip to content

Commit ba04519

Browse files
committed
Revert "testing_things: uninitialized dereference"
This reverts commit 4b375f9.
1 parent 4b375f9 commit ba04519

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/misc/mathworks/mathworks_generic_of.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ static int mathworks_generic_of_i2c_init(struct mathworks_ip_info *thisIpcore){
106106
static int mathworks_generic_of_get_param(struct mathworks_ip_info *thisIpcore, void *arg)
107107
{
108108
struct mathworks_ip_param_info pinfo;
109-
struct mathworks_ip_param_info pinfo2;
110-
const size_t size = pinfo2->size;
111109
const void *paramData;
112110
int len;
113111

0 commit comments

Comments
 (0)