10_MQTT2_DEVICE.pm: remove unused code (Forum #111938)

git-svn-id: https://svn.fhem.de/fhem/trunk@22458 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2020-07-24 07:42:21 +00:00
parent 640d0c3f23
commit 25c62597c8

View File

@@ -158,7 +158,6 @@ MQTT2_DEVICE_Parse($$)
"$cid:$topic:$value" =~ m/^$reRepl$/s));
next if(IsDisabled($dev));
my @retData;
Log3 $dev, 4, "MQTT2_DEVICE_Parse: $dev $topic => $code";
if($code =~ m/^{.*}$/s) {
@@ -171,7 +170,6 @@ MQTT2_DEVICE_Parse($$)
foreach my $k (keys %{$ret}) {
readingsBulkUpdate($hash, makeReadingName($k), $ret->{$k});
my $msg = ($ret->{$k} ? $ret->{$k} : "");
push(@retData, "$k $msg");
checkForGet($hash, $k, $ret->{$k});
}
readingsEndUpdate($hash, 1);
@@ -179,7 +177,6 @@ MQTT2_DEVICE_Parse($$)
} else {
readingsSingleUpdate($hash, $code, $value, 1);
push(@retData, "$code $value");
checkForGet($hash, $code, $value);
}