diff options
| author | cbdev <cb@cbcdn.com> | 2020-04-27 22:50:47 +0200 | 
|---|---|---|
| committer | cbdev <cb@cbcdn.com> | 2020-04-27 22:50:47 +0200 | 
| commit | 1d8ed32bf769bc99095cd32ec166e681437607f0 (patch) | |
| tree | bc94fd3a0245e91c15659916fc1c3591c7fb44b7 /backends/evdev.c | |
| parent | d4714dfdd5c6e2d165d1ad9327fdce69a1b2b85b (diff) | |
| parent | c0bb55ff08faf2f89af947090d1c9bc412927d9f (diff) | |
| download | midimonster-1d8ed32bf769bc99095cd32ec166e681437607f0.tar.gz midimonster-1d8ed32bf769bc99095cd32ec166e681437607f0.tar.bz2 midimonster-1d8ed32bf769bc99095cd32ec166e681437607f0.zip | |
Merge branch 'master' into debian/master
Diffstat (limited to 'backends/evdev.c')
| -rw-r--r-- | backends/evdev.c | 8 | 
1 files changed, 0 insertions, 8 deletions
| diff --git a/backends/evdev.c b/backends/evdev.c index af5ec74..8a14200 100644 --- a/backends/evdev.c +++ b/backends/evdev.c @@ -357,10 +357,6 @@ static int evdev_handle(size_t num, managed_fd* fds){  	int read_status;  	struct input_event ev; -	if(!num){ -		return 0; -	} -  	for(fd = 0; fd < num; fd++){  		inst = (instance*) fds[fd].impl;  		if(!inst){ @@ -437,10 +433,6 @@ static int evdev_set(instance* inst, size_t num, channel** c, channel_value* v)  	int32_t value = 0;  	uint64_t range = 0; -	if(!num){ -		return 0; -	} -  	if(!data->output_enabled){  		LOGPF("Instance %s not enabled for output (%" PRIsize_t " channel events)", inst->name, num);  		return 0; | 
