From: Daan De Meyer Date: Mon, 30 Sep 2024 11:42:23 +0000 (+0200) Subject: ukify: Drop unused size() method X-Git-Tag: v257-rc1~357^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=83d4c135e80862e1de9f8c0961ef24e06b5cdd22;p=thirdparty%2Fsystemd.git ukify: Drop unused size() method --- diff --git a/src/ukify/ukify.py b/src/ukify/ukify.py index cd1dedffcac..fc391995c42 100755 --- a/src/ukify/ukify.py +++ b/src/ukify/ukify.py @@ -363,9 +363,6 @@ class Section: return cls.create(name, out, output_mode=ttype) - def size(self): - return self.content.stat().st_size - def check_name(self): # PE section names with more than 8 characters are legal, but our stub does # not support them.