diff --git a/protocols/bmp/packet/stats_report.go b/protocols/bmp/packet/stats_report.go
index c2c4e26366016dd5a49045957fc9f8661916bc7c..3fa53995a48e6217a59a5a7ea7369dc71fc084a8 100644
--- a/protocols/bmp/packet/stats_report.go
+++ b/protocols/bmp/packet/stats_report.go
@@ -20,11 +20,6 @@ func (s *StatsReport) MsgType() uint8 {
 	return s.CommonHeader.MsgType
 }
 
-// SetCommonHeader sets the common header
-func (s *StatsReport) SetCommonHeader(ch *CommonHeader) {
-	s.CommonHeader = ch
-}
-
 func decodeStatsReport(buf *bytes.Buffer, ch *CommonHeader) (Msg, error) {
 	sr := &StatsReport{
 		CommonHeader: ch,