diff --git a/apps/iot/include/emqtt.hrl b/apps/iot/include/emqtt.hrl index 8caa08f..48cc014 100644 --- a/apps/iot/include/emqtt.hrl +++ b/apps/iot/include/emqtt.hrl @@ -405,12 +405,6 @@ reason_code = ReasonCode} }). --define(PUBREC_PACKET(PacketId, ReasonCode), - #mqtt_packet{header = #mqtt_packet_header{type = ?PUBREC}, - variable = #mqtt_packet_puback{packet_id = PacketId, - reason_code = ReasonCode} - }). - -define(PUBREC_PACKET(PacketId, ReasonCode, Properties), #mqtt_packet{header = #mqtt_packet_header{type = ?PUBREC}, variable = #mqtt_packet_puback{packet_id = PacketId,